Subject | Still Formatting problems |
---|---|
Author | Leeway |
Post date | 2001-08-06T07:12:09Z |
I have a floating point field.
I use a TIB_Edit component to display and input data.
I want the users to see and enter data with maximum two digits after
the decimal point.
The display part I can manage using
IB_Query.Fieldsdisplayformat '#,###,##0.00'
But when the user tabs into the IB_Edit component the display goes
from
15.45
to
15.4499998092651
when the user tabs out of the IB_Edit the display goes back to
15.45
how do I fix this ?
If I have to use a mask, how do I do that, and what is the mask ?
Lee
I use a TIB_Edit component to display and input data.
I want the users to see and enter data with maximum two digits after
the decimal point.
The display part I can manage using
IB_Query.Fieldsdisplayformat '#,###,##0.00'
But when the user tabs into the IB_Edit component the display goes
from
15.45
to
15.4499998092651
when the user tabs out of the IB_Edit the display goes back to
15.45
how do I fix this ?
If I have to use a mask, how do I do that, and what is the mask ?
Lee