public static precision_from( number $number ) : integer
$number
Returns the precision of a number.
public static round_to( number $number, integer $precision ) : float
$precision
Returns a number rounded to the specified precision.
public static parse( number $number, null|integer $precision = null ) : array
Parses a number.
An array of [ $integer, $fractional ]. The fractional part is null if $number has no decimal separator.
null