round

Rounds a real number toward the nearest mathematical integer.  The integer part is returned as integer, the remainder is returned as real2.  If real1 is exactly between two integers, then the result integer will be a multiple of two.

Exported from

Modifiers

sealed

Arguments

real1An instance of <real>.

Values

integerAn instance of <general-integer>.
real2An instance of <real>.
The common-dylan module.
Whenever possible, we have tried to keep the Dylan module pristine and unextended, preferring to add our extensions to separate modules or libraries.
The class of real numbers.
Parent class of all integers.