The number is rounded up to the nearest whole number.
The number is rounded down when positive and up when negative. This is effectively floor the absolute value where the result preserves the sign.
The number is rounded down to the nearest whole number.
The number is returned unmodified.
The number is rounded up or down depending on if the fractional value is greater than or less than 0.5 respectively.
The fractional part of the number is dropped.
The number is rounded up when positive and down when negative. This is effectively ceiling the absolute value where the result preserves the sign.
Generated using TypeDoc
An operation that can be performed on a single number.