Hi Mat,

> >> print to-integer 1.6
> 1

I don't know of one, but here's my own:

  round: func [
      dec [integer! decimal!]
      /local int
  ][
      if 0.5 <= (dec - int: to-integer dec) [int: int + 1]
      int
  ]

- Chris

-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to