NumberFormat
class NumberFormat
Methods
__construct(
Request $request)
No description
static
getInstance(
Request $request)
No description
string
formatStandardNumber(
float $number,
string $decimals = null)
Get a standard number, with '.' as decimal point and no thousands separator so that this number can be used to perform calculations.
format($number, $decimals = null, $decPoint = null, $thousandsSep = null)
No description
Details
at line 21
__construct(
Request $request)
at line 26
static
getInstance(
Request $request)
at line 39
string
formatStandardNumber(
float $number,
string $decimals = null)
Get a standard number, with '.' as decimal point and no thousands separator so that this number can be used to perform calculations.