NumberRounding extension

Round to precision. Source: https://stackoverflow.com/a/32205216

on

Methods

toPrecision(int precision) num