Differences Between: [Versions 400 and 401] [Versions 400 and 402] [Versions 400 and 403]
(no description)
File Size: | 236 lines (8 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
Format:: (8 methods):
DOLLAR()
FIXEDFORMAT()
TEXTFORMAT()
convertValue()
VALUE()
getDecimalSeparator()
getGroupSeparator()
NUMBERVALUE()
DOLLAR($value = 0, $decimals = 2) X-Ref |
DOLLAR. This function converts a number to text using currency format, with the decimals rounded to the specified place. The format used is $#,##0.00_);($#,##0.00).. param: mixed $value The value to format param: mixed $decimals The number of digits to display to the right of the decimal point (as an integer). |
FIXEDFORMAT($value, $decimals = 2, $noCommas = false) X-Ref |
FIXED. param: mixed $value The value to format param: mixed $decimals Integer value for the number of decimal places that should be formatted param: mixed $noCommas Boolean value indicating whether the value should have thousands separators or not |
TEXTFORMAT($value, $format) X-Ref |
TEXT. param: mixed $value The value to format param: mixed $format A string with the Format mask that should be used |
convertValue($value) X-Ref |
return: mixed param: mixed $value Value to check |
VALUE($value = '') X-Ref |
VALUE. return: DateTimeInterface|float|int|string A string if arguments are invalid param: mixed $value Value to check |
getDecimalSeparator($decimalSeparator) X-Ref |
No description |
getGroupSeparator($groupSeparator) X-Ref |
param: mixed $groupSeparator |
NUMBERVALUE($value = '', $decimalSeparator = null, $groupSeparator = null) X-Ref |
NUMBERVALUE. return: float|string param: mixed $value The value to format param: mixed $decimalSeparator A string with the decimal separator to use, defaults to locale defined value param: mixed $groupSeparator A string with the group/thousands separator to use, defaults to locale defined value |