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!

Number formatting 1

Status
Not open for further replies.

hassellhorse

Technical User
Aug 16, 2006
11
US
Is there a way to custom format a number so that it will round up to the next dollar even if it's less than a half dollar. For instance if I have $40.03 I want it to round up to $41.00 and if I have 40.52 I want it to round to $41.00. Thank you.
 
If you CR XI, you can use the roundup function. Otherwise, you can use:

-int(-{table.number})

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top