DoubleUtilities extension

Extends double with additional basic methods.

on

Properties

invert double
Flips the sign of this number.
no setter

Methods

roundTo(num value) double
Rounds this double by value:
roundToPrecision(int precision) double
Rounds this double to precision decimal points.