| 1 | <?php |
||
| 19 | class CurrencyExtension extends DataExtension |
||
| 20 | { |
||
| 21 | private static $decimal_point = '.'; |
||
| 22 | |||
| 23 | private static $thousand_separator = ','; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * Returns the number as a currency, eg “$1,000.00”. |
||
| 27 | * Where the decimal point and thousand separator are configurable |
||
| 28 | * |
||
| 29 | * @return string |
||
| 30 | */ |
||
| 31 | public function NiceDecimalPoint() |
||
| 45 | } |
||
| 46 |