Hi,
I have Crystal Reports 8.5 and for our french clients we need to put a space as a thousand separator and a comma as a decimal separator in a field that is defined as TEXT. For our english clients, we use commas as thousands and a point as a decimal separator. How can we do this in a TEXT field?
This is how it should display FRENCH -> 2 077,96 $
ENGLISH -> $ 2,077.96
Remember that the 2077.96 is a text field not numeric.
I tried the following formula for decimal separator but I can’t figure out what to put for the thousand separator:
Local NumberVar NumericValue;
Local NumberVar BusinessCommission;
Local NumberVar CurrDevComm;
NumericValue := BusinessCommission + CurrDevComm;
if {@Language} = "F" then
ToText(NumericValue, 2, " ", ",") + " " + "$"
else
"$" + ToText(NumericValue, 2, ",", ".");
Thank you in advance.
I have Crystal Reports 8.5 and for our french clients we need to put a space as a thousand separator and a comma as a decimal separator in a field that is defined as TEXT. For our english clients, we use commas as thousands and a point as a decimal separator. How can we do this in a TEXT field?
This is how it should display FRENCH -> 2 077,96 $
ENGLISH -> $ 2,077.96
Remember that the 2077.96 is a text field not numeric.
I tried the following formula for decimal separator but I can’t figure out what to put for the thousand separator:
Local NumberVar NumericValue;
Local NumberVar BusinessCommission;
Local NumberVar CurrDevComm;
NumericValue := BusinessCommission + CurrDevComm;
if {@Language} = "F" then
ToText(NumericValue, 2, " ", ",") + " " + "$"
else
"$" + ToText(NumericValue, 2, ",", ".");
Thank you in advance.