Round Down

General support questions.
PostPosted: Sat May 20, 2006 5:08 am
We have a calculation that produces a decimal result. We need it to automatically roud the decimal down to the nearest whole number. We are using version 5.

Example: 45.83 Needs to be rounded down to 45.

Can anyone help?
SeedCode Staff
SeedCode Staff
Posts: 2764
Joined: Thu Nov 20, 2003 11:01 am
PostPosted: Sat May 20, 2006 6:57 am
The Int() function will return just the integer of your number, removing the decimal.

HTH.
John Sindelar
SeedCode
PostPosted: Sat May 20, 2006 9:19 am
Thank you tremendously for your quick response. It is much appreciated!

Return to General Support

Who is online

Users browsing this forum: No registered users and 2 guests

cron
(855) SEEDCODE
[email protected]
Follow us: