When reading the numbers in, zero a Byte variable when the decimal point is encountered. Let's call this byte variable our Multiplyer. Then when each subsequent number is encountered (until the next comma), increment the multiplyer.

Now, knowing how many decimal points you're playing with. You can then construct a word integer variable to do your math with knowing exactly where you stand. So using your last example, you can have an integer loaded with 10073, with the Multiplyer standing at 2, you know there are two decimal places.

You can then multiply 10073 by 115 and use DIV32 to divide by 100 and extract your answer. The Multiplyer byte will still indicate where to drop-in your decimal place when displaying, outputting or otherwise processing your final answer.

Naturally you can't spill out of your word variable, but with two decimal places you can go to 569.86 knots (which equates to 655.33 mph by your calculation and PBP's integer math limitations) and should be enough for the majority of applications).

Melanie