Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



Closed Thread
multiply changes decimal separator from point to comma?
Old 09-18-2009, 01:41 PM multiply changes decimal separator from point to comma?
Skilled Talker

Posts: 83
Trades: 0
Hello,

I am having a script that multiplies a number (like 15.36) with a non-decimal number (like 2).

I have this on 2 sites, both running locally on my PC using XAMPP.

On 1 site everything is OK. On the other site after calculation the . changes into a ,

How can this be? Both scripts are identical.
I can easily change this back so this is not the problem, i am wondering what is causing this.

Thanks for your thoughts.

Matt
killerwhale65 is offline
View Public Profile
 
 
Register now for full access!
Old 09-18-2009, 02:29 PM Re: multiply changes decimal separator from point to comma?
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,522
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
regional settings but on the CLIENT machine, as that is where javascript runs

BTW "non-decimal" numbers are called integers
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is online now
View Public Profile Visit chrishirst's homepage!
 
Old 09-18-2009, 02:32 PM Re: multiply changes decimal separator from point to comma?
Skilled Talker

Posts: 83
Trades: 0
ok, integers, sorry

But both run on my PC, this is for testing only so only i watch them on that same PC, this is not approachable from the internet. The client machine is the same, so where is the difference?

Last edited by killerwhale65; 09-18-2009 at 02:40 PM..
killerwhale65 is offline
View Public Profile
 
Closed Thread     « Reply to multiply changes decimal separator from point to comma?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.11671 seconds with 12 queries