View Full Version : Decimal places


Lucy
08-06-2001, 12:27 AM
I'm using code to calculate a figure which is then entered in a control on a form. I'm using the 'single' variable because I want decimal places, but I only want to show two decimal places on the form. Using the format in the properties attached to the control doesn't limit it to two decimal places. How can I do this in the code. I'm sure it's simple but can I find the answer in help!

Atomic Shrimp
08-06-2001, 01:29 AM
You do have the Format set to 'fixed' and the decimal places set to 2, don't you?