>>>>Hello all!
>>>>
>>>>Can anyone advise how to STOP VFP6 from Rounding to the nearest whole number (even though this is actually a numeric field of 8,2)?
>>>>
>>>>This is the best way I can explain what is happening...
>>>>
>>>>I want it to STOP rounding from 111.51 to 112.00 or 23.35 to 23.00
>>>>
>>>>Can anyone help?
>>>>
>>>>TIA,
>>>>
>>>>Dan
>>>
>>>PS... SOrry a little further explanation...
>>>
>>>the value for the numeric field that ROUND OFF are calculated in a previous field on my form. It fills the numeric field with the correct value as calculated, ie: 111.51 but upon ENTRY into that field, the value changes to 112.00...
>>Dan,
>>Might it be "set decimals .." or inputmask ?
>>Cetin
>
>Cetin,
>
>I have SET DECIMALS TO 2 and inputmask of 999.99 in my field(s).
>
>Dan
Dan,
"Set decimals" is scoped to current data session, "set sysformats" might be tampering with , or something in between might be changing inputmask. On entry to control (gotfocus), you could debugout those to see current values. I don't think it's pure VFP6 problem but don't use VFP6 yet :(
Cetin