Differences Between: [Versions 400 and 402] [Versions 401 and 402]
(no description)
File Size: | 326 lines (12 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
NumberFormatter:: (12 methods):
mergeComplexNumberFormatMasks()
processComplexNumberFormatMask()
complexNumberFormatMask()
f2s()
floatStringConvertScientific()
formatStraightNumericValue()
format()
makeString()
pregReplace()
padValue()
areThousandsRequired()
scaleThousandsMillions()
Class: NumberFormatter - X-Ref
mergeComplexNumberFormatMasks(array $numbers, array $masks) X-Ref |
No description |
processComplexNumberFormatMask($number, string $mask) X-Ref |
param: mixed $number |
complexNumberFormatMask($number, string $mask, bool $splitOnPoint = true) X-Ref |
param: mixed $number |
f2s(float $f) X-Ref |
No description |
floatStringConvertScientific(string $s) X-Ref |
No description |
formatStraightNumericValue($value, string $format, array $matches, bool $useThousands) X-Ref |
param: mixed $value |
format($value, string $format) X-Ref |
param: mixed $value |
makeString($value) X-Ref |
param: array|string $value |
pregReplace(string $pattern, string $replacement, string $subject) X-Ref |
No description |
padValue(string $value, string $baseFormat) X-Ref |
No description |
areThousandsRequired(string &$format) X-Ref |
Find out if we need thousands separator This is indicated by a comma enclosed by a digit placeholders: #, 0 or ? |
scaleThousandsMillions(string &$format) X-Ref |
Scale thousands, millions,... This is indicated by a number of commas after a digit placeholder: #, or 0.0,, or ?,. |