List:General Discussion« Previous MessageNext Message »
From:Tatjana Cukic Date:October 26 2005 8:05am
Subject:Problem with decimal values
View as plain text  
Hi People,

it is strange, i am using MySQL version 4.1 (so dont
expect some bugs) on Windows 2000, and if i create a
field (e.g. temperature) as

temperature decimal(4,3)

if i wanna insert the value 100, it is storing as
99.999

does anybody knows the reason why doesnt show it as
100.000 but as 99.999 when my size is defined as 4 but
not 2

Thanks a lot!
Regards,
Tatjana


		
__________________________________ 
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com
Thread
Problem with decimal valuesTatjana Cukic26 Oct
  • Re: Problem with decimal valuesRhino26 Oct