Hi

I was using the xlisp (round ...) function quite happily in jnyqide, but when I took the code to audacity it doesn't work.  I notice "round" doesn't exist in the docs.

But truncate does.  Presumable I need to write a function using truncate.  2.2 going to 2 is easy, but how do I test for numbers between 2.5 and 2.999 that I want to go to 3?

I thought rem might be it, but seems to work only on integers and I have no idea what it does anyway.  There doesn't seem to be a mod either.

Ideas gratefully received.


George