Posted: Wed Oct 30, 2002 8:06 pm
Restored from previous forum. Originally posted by TerryHough.
Could someone open my eyes. This doesn't seem to work as expected.
StringGadget(1, 20, 70,100,20,"") is used to enter a numeric amount with 2 decimal places. Eg. 100000.55
T$=GetGadgetText(1) ; get the string
Amount.f = ValF(T$) ; convert to a float value
Problem is that Amount always contains 100000.546875
Have I run up on a "flaw" or am I doing something wrong.
Thanks,
Terry
Could someone open my eyes. This doesn't seem to work as expected.
StringGadget(1, 20, 70,100,20,"") is used to enter a numeric amount with 2 decimal places. Eg. 100000.55
T$=GetGadgetText(1) ; get the string
Amount.f = ValF(T$) ; convert to a float value
Problem is that Amount always contains 100000.546875
Have I run up on a "flaw" or am I doing something wrong.
Thanks,
Terry