Mark Schonewille m.schonewille at
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
KvK: 50277553

New: Download the Installer Maker Plugin 1.6 for LiveCode here

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