decimal places

  • Thread starter Thread starter Nick T
  • Start date Start date
N

Nick T

Hi,
I have 3 text boxes on a form which display numbers. How do i get them to
only display the numbers to 2 decimal places? They are currently eg.
2.34566572738 etc. I have tried changing the 'decimal places' in the text
boxes' properties list, but this doesnt work.

Any suggestions

Thanks
 
Set the Format property of the text box to Fixed, as well as the Decimal
Places to 2.

Note that this only suppresses the display of further values beyond 2
places: it does not round the value to 2 places.
 
Back
Top