asDecimal() public method
Formats the value as a decimal number. Property $decimalSeparator will be used to represent the decimal point. The value is rounded automatically to the defined decimal digits. See also:
$decimalSeparator
$thousandSeparator
public string asDecimal ( $value, $decimals = null, $options = [], $textOptions = [] )$value mixed
The value to be formatted. $decimals integer
The number of digits after the decimal point. If not given the number of digits is determined fr