Problem with arithmetics operations in french environnement.

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Problem with arithmetics operations in french environnement.

Postby zygwi » 22. August 2005 10:22

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 ?
zygwi
 
Posts: 30
Joined: 11. January 2005 16:16
Location: FRANCE

Postby Wiedmann » 22. August 2005 13:32

You have an example script?
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby zygwi » 22. August 2005 18:41

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 ?
zygwi
 
Posts: 30
Joined: 11. January 2005 16:16
Location: FRANCE

Postby Wiedmann » 22. August 2005 18:44

Sorry. Without an example i cannot help you...
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby zygwi » 22. August 2005 19:21

I give you tomorrow.
zygwi
 
Posts: 30
Joined: 11. January 2005 16:16
Location: FRANCE


Return to XAMPP for Windows

Who is online

Users browsing this forum: intspeed and 148 guests