Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: Rounding

From: mat:0wnerage at: 30-May-2002 8:43

Hi Christian,
>> Is there such a beast or must one write a function to do it?
Christian> round: func [x] [to-integer .5 + x] Haha, yes. :) Could not see the wood for the trees. I should show you my version for comedy, I was using string manipulation to get the digits after the decimal. <blush> Regards, Mat.