on 11-25-2009 11:47 PM
Need a formula for some number formatting.
If a number is a whole number I need it to show no decimal places, just the number itself.
So: 7.000 would be 7
if a number is not a whole number i need it to show three decimal places
So: 7.25 would be 7.250
Thanks for the help!
If you need it for display only, then you can convert it to text using the following formula:
numbervar x:={your number};
if x=round(x) then totext(x,0) else totext(x,3)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.