roundTo method

T roundTo(
  1. num value
)

Rounds this number to the nearest value.

Implementation

T roundTo(num value) => round(this, value);