roundUp500

Alex Tweedly alex at tweedly.net
Thu Mar 3 14:57:15 EST 2011


put 500 * round(x/500 + 0.4999999)

-- Alex.


On 03/03/2011 17:06, FlexibleLearning wrote:
> Here's a poser for you all...
>
> How to round a number UP to the nearest 500?
>
>
> Hugh Senior
> FLCo
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>





More information about the use-livecode mailing list