; It's fairly basic, but does the job.
Round: func [R [integer! decimal!]] [
to-integer either 0.5 <= remainder R 1 [R + 1][R]
]
Any one got any other maths functions?
Andrew Martin
[EMAIL PROTECTED]
http://members.xoom.com/AndrewMartin/
Online @ 33,600 Baud!
-><-
- [REBOL] Round function Re: Al . Bri
- [REBOL] Round function Re: rryost
- [REBOL] Round function Re:(2) KSMiTH
- [REBOL] REBOL and the Bazaar! xmldiva
- [REBOL] Round function Re: rryost
- [REBOL] Round function Re:(2) lmecir
- [REBOL] Round function Re:(2) ddalley
