Solved Decimal points in form control (1 Viewer)

zebrafoot

Member
Local time
Today, 13:47
Joined
May 15, 2020
Messages
65
Hello everyone.

A quick one, I hope. I have a calculation in a form that should give me the discount percentage of an item calculated from list price and arbitrary "one-off" price input by the user. The control the value is to be displayed in is a "general number", set to 2 decimal places, yet shows more than that (depending on the actual values). Is there a way of forcing the control to only show 2 decimal places, since this method clearly doesn't work in this instance?


Pete
 

Minty

AWF VIP
Local time
Today, 13:47
Joined
Jul 26, 2013
Messages
10,371
Set it to Fixed - then the decimal places should work for display purposes.
 

zebrafoot

Member
Local time
Today, 13:47
Joined
May 15, 2020
Messages
65
Set it to Fixed - then the decimal places should work for display purposes.
Brilliant, thanks Minty. 10 points to Ravenclaw! ;)
 

Users who are viewing this thread

Top Bottom