On 22-Nov-99, [EMAIL PROTECTED] wrote:
> If you like one-liners, how about:
> >> round: func [n][print to-integer n + either n < 0 [-.5][.5]]
> This prints integer closest to n.
Russell: These rounding solutions are all too rigid.
How would REBOL round off the last digit of an unknown decimal length?
In other words, if the decimal is x digits long, how would the xth digit get
rounded?
--
---===///||| Donald Dalley |||\\\===---
The World of AmiBroker Support
http://webhome.idirect.com/~ddalley
Member: ICOA and Team AMIGA