Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using formula to set decimal place

Status
Not open for further replies.

1tufgt

Programmer
Apr 11, 2020
34
US
What's the proper method to set the decimal of a field to be a specific length? Example is that I would want all to be 0 decimal place but a couple rows I would like it to expand to .00 decimal places.
 
I would use the TOTEXT function. You can set the number of decimal places with it. Of course you would need a condition statement to determine when a value needs zero or multiple decimal places.
 
Try the round() function in a conditional formula.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top