|
List Info
Thread: truncate and round
|
|
| truncate and round |

|
2008-04-10 20:26:10 |
|
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
|
[1]
|
|
|
about | contact Other archives ( Real Estate discussion Medical topics )
|