Text data locale for fixedformat (#1220)
* Apply Locale settings to result of FIXEDFORMAT method call
This commit is contained in:
parent
89066d2568
commit
43b760501a
|
@ -273,7 +273,12 @@ class TextData
|
|||
$decimals = 0;
|
||||
}
|
||||
if (!$no_commas) {
|
||||
$valueResult = number_format($valueResult, $decimals);
|
||||
$valueResult = number_format(
|
||||
$valueResult,
|
||||
$decimals,
|
||||
StringHelper::getDecimalSeparator(),
|
||||
StringHelper::getThousandsSeparator()
|
||||
);
|
||||
}
|
||||
|
||||
return (string) $valueResult;
|
||||
|
|
Loading…
Reference in New Issue