Connecting Tech Pros Worldwide Help | Site Map

Double or float problem

Member
 
Join Date: Oct 2006
Location: Netherlands
Posts: 92
#1: Sep 9 '09
Hello,
I live in the netherlands and we use a comma as separator for money.
Like 10,50 and bigger values like 1.333,50.
But mysql wouldnt accept that value and wants a dot as separator.
Can i change the settings in mysql so he accepts it like this way?

I am coding in vb.net (for now) and he output 10,3 and using a double variable.

Thanks!
Paul
mwasif's Avatar
Moderator
 
Join Date: Jul 2006
Location: Pakistan
Posts: 719
#2: Sep 9 '09

re: Double or float problem


Hello Paul,

You should save the value in standard format in MySQL and use VB.Net to display the values in your desired format.
Member
 
Join Date: Oct 2006
Location: Netherlands
Posts: 92
#3: Sep 9 '09

re: Double or float problem


Okay, i will try it tomorrow.
It's almost 01:00 now. :(

Thanks!
Reply


Similar MySQL Database bytes