|
@@ -20,8 +20,8 @@ |
|
|
block discarded – undo |
|
20
|
20
|
* |
|
21
|
21
|
* @return string |
|
22
|
22
|
*/ |
|
23
|
|
- public static function compile(Compiler $compiler, $value, $decimals = 0, $dec_point = ".", $thousands_sep = ",") |
|
|
23
|
+ public static function compile(Compiler $compiler, $value, $decimals = 0, $dec_point = ".", $thousands_sep = ",") |
|
24
|
24
|
{ |
|
25
|
|
- return 'number_format(' . $value . ',' . $decimals . ',' . $dec_point . ',' . $thousands_sep . ')'; |
|
|
25
|
+ return 'number_format('.$value.','.$decimals.','.$dec_point.','.$thousands_sep.')'; |
|
26
|
26
|
} |
|
27
|
27
|
} |
Please login to merge, or discard this patch.