DoubleToPrecision extension

on

Methods

toPrecision(int precision) double
A method to only keep the given number of digits in this double