B
BRC
using access 2003 and Win xp pro
I have a problem with formatting a form textbox to display the the
correct number of decimals. The text box is a calculated field that
is [grams_unit] * [quanity]. Grams_unit is in a table as field size:
"single", format: "general number", decimal places: "2". In the table
the grams_unit displays as .85. However when I do the calculation for
my textbox (totalgramsTB) 1*grams_unit yields 0.850000023841858 and
it displays 15 decimal places. What I would like is for it to display
only .85. I have no idea where all these numbers are coming from. I
don't want to set the format to fixed because I don't want it to
appear to be currency. Any suggestions would be appreciated. As
always, thanks for any help
BRC
I have a problem with formatting a form textbox to display the the
correct number of decimals. The text box is a calculated field that
is [grams_unit] * [quanity]. Grams_unit is in a table as field size:
"single", format: "general number", decimal places: "2". In the table
the grams_unit displays as .85. However when I do the calculation for
my textbox (totalgramsTB) 1*grams_unit yields 0.850000023841858 and
it displays 15 decimal places. What I would like is for it to display
only .85. I have no idea where all these numbers are coming from. I
don't want to set the format to fixed because I don't want it to
appear to be currency. Any suggestions would be appreciated. As
always, thanks for any help
BRC