Click here to Skip to main content
16,004,890 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have two doubles value
i am assigning those values

Double planned,convert_hours,total;
planned=0.125;
convert_hours=1.525;
total=planned+convert_hours;



But its accepting values like 0,125 and 1,525 instead of 0.125 and 1.525

I think its because of globalisation problem..

IF yes,please help me to resolve this
Posted

1 solution

Check the regional settings property on your PC. If your number settings use, as the point, then you will need to implement some logic in SQL for culture conversion.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900