Page 1 of 1

Problem with arithmetics operations in french environnement.

PostPosted: 22. August 2005 10:22
by zygwi
In french environnement, the decimal separator is comma ",".
Even if I force local environnement to a french one, i don't manage to reach the decimal part of a decimal number in arithmetics operations.
Example :

10 x 2,5 gives 20 and not 25, in php codes.

I have not this problem with the version of xampp 1.4.7, but with the 1.4.15 i have it.

Someone can help me ? what's wrong, what misses ?

PostPosted: 22. August 2005 13:32
by Wiedmann
You have an example script?

PostPosted: 22. August 2005 18:41
by zygwi
It's a simple multiplication in php.

As I said, with xampp 1.4.7, also with php 5.0.1, this code works well.
It is not a modification in options ?

PostPosted: 22. August 2005 18:44
by Wiedmann
Sorry. Without an example i cannot help you...

PostPosted: 22. August 2005 19:21
by zygwi
I give you tomorrow.