PBP only works with Integers not floating point.
what is the biggest number you would ever end up using ?
Using your example without the decimal point you would have 104717 which is too big for a word (65535).
If you could lose the least significant digit then you would have 10471 (or you could choose to make it 10472 based on the digit you are losing.
Remember that you only had 3 digits after the point.
Divide that by 60 and you get 174 which will equate to 0.174
Divide by 6 instead and you get 1745 and can now allow for 4 digits after the point as you had already reduced your divisor by a factor of 10 so that will equate to 0.1745
Is that accurate enough for your needs ?
Failing that, search the forum for "Floating Point"
Melanie will no doubt offer a far better solution shortly due to her much greater knowledge of solving problems with PBP
Regards
Bookmarks