german decimal price format?

luc42

No avatar

2007-01-29 15:57

Hi,

is there any possibilityto change the price format from english into german - so the decimal dot ist substituded by a comma.

english --> 12.99 €
german --> 12,99 €

Any suggestions?

Thanks,

luc

treewood (OpenSolution)

Avatar: treewood

2007-01-29 16:14

luc42 - edit core/other.php and check for function: tPrice(). there is price format. change . after go to js/checkForm.js and change cfFix() function, "." to ",".

luc42

No avatar

2007-01-29 17:01

Hi,

thanks for you fast response, but ist seems like the script uses this value to caclulate and turning the "." into a "," converts the float value into a string.

luc

treewood (OpenSolution)

Avatar: treewood

2007-01-30 08:05

luc42 - because in PHP this is correct "." not ",". and maybe script cannot calculate :/

dadegr

No avatar

2007-07-31 21:16

change is not all, javascript code does not deal with the , in the values

Back to top
about us | contact