roundUp500
Mark Schonewille
m.schonewille at economy-x-talk.com
Thu Mar 3 12:13:15 EST 2011
Hi Hugh,
function roundUp500 theNumber
return trunc(theNumber/500+1)*500
end roundUp500
Seems to work.
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553
New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce
On 3 mrt 2011, at 18:06, FlexibleLearning wrote:
> Here's a poser for you all...
>
> How to round a number UP to the nearest 500?
>
>
> Hugh Senior
> FLCo
More information about the use-livecode
mailing list