Decimal places (1 Viewer)

L

Lucy

Guest
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

Humanoid lifeform
Local time
Today, 10:30
Joined
Jun 16, 2000
Messages
1,954
You do have the Format set to 'fixed' and the decimal places set to 2, don't you?
 

Users who are viewing this thread

Top Bottom