NumberTools
in package
NumberTools give us some basic and common methods for numbers.
Tags
Table of Contents
- __construct() : mixed
- format() : string
- Returns the number format with the number of decimals indicated.
Methods
__construct()
public
__construct() : mixed
Return values
mixed —format()
Returns the number format with the number of decimals indicated.
public
static format(mixed $number[, mixed $decimals = FS_NF0 ]) : string
Parameters
- $number : mixed
- $decimals : mixed = FS_NF0