Precision extension

Extension to reduce the decimal part of the double to n places

on

Methods

toPrecision(int n) double