Public Member Functions | |
__construct ($decimal, $precision=-1, $scale=-1) | |
__toString () | |
Class for create an object of the decimal type
SequoiaDecimal::__construct | ( | $decimal, | |
$precision = -1 , |
|||
$scale = -1 |
|||
) |
Constructor.
string | integer | double | $decimal | decimal number |
integer | $precision | is the precision of decimal, if not limit precision, then $precision $scale is -1. |
integer | $scale | is the scale of decimal, if not limit precision, then $precision $scale is -1. |
SequoiaDecimal::__toString | ( | ) |
PHP Magic Methods, the class as string output.