NumUtils extension

Helpful utils on doubles.

on
  • double

Methods

format() → String

Available on double, provided by the NumUtils extension

Formats this number by rounding to 2 decimal points.
toDegrees() → int

Available on double, provided by the NumUtils extension

Converts this number (as radians) to degrees.