RoundableNumber<T extends num> extension

Utilities for rounding a number.

on
  • T

Methods

ceilTo(num value) → T
Ceils this number to the nearest value.
floorTo(num value) → T
Floors this number to the nearest value.
roundTo(num value) → T
Rounds this number to the nearest value.