A
|
ann 5/21/2010 |
Hi, $locale_info["LOCALE_IDIGITS"]="1"; |
H
|
horsey_kim author 5/21/2010 |
Hi, open a file source\include\locale.php and change the number of digits after the decimal operator to 1: $locale_info["LOCALE_IDIGITS"]="1";
|
H
|
horsey_kim author 5/21/2010 |
In Local file, I tried just comment out all the code for fractional digits and under str_fromat_number the line that says this $val=round($val,$locale_info["LOCALE_IDIGITS"]); |
H
|
horsey_kim author 5/21/2010 |
Not sure how to achieve what I need. I know with my old database I defined in mysql to use float and put the digit requirement 4,1(1 digit after decimal) or 4,2 (2 digit after decimal) and it worked. |
H
|
horsey_kim author 5/21/2010 |
Okay I figured a way around it. |
A
|
ann 5/24/2010 |
Hi, $locale_info["LOCALE_IDIGITS"]="1"; |
H
|
horsey_kim author 7/1/2010 |
Hi, proceed to the Edit as dialog on the Visual Editor tab and change the format to Number. Then you can change the number of digits to 1 in the generated file output\include\locale.php: $locale_info["LOCALE_IDIGITS"]="1";
|
A
|
ann 7/2/2010 |
Hi, $value= number_format($value, 1, ',', ' '); |