Converting a string to a float?
#1

Alright, Im trying to load a float from a MySQL table. The MySQL table has the value. When I try to load it by using strval(Field); it returns the value without anything beyond the decimal point. Example, getting the value 1800.125 from the MySQL table, gives that value 1800.0000. Can someone tell me a solution to this?
Reply


Messages In This Thread
Converting a string to a float? - by NovaParadox - 10.02.2009, 02:07
Re: Converting a string to a float? - by ICECOLDKILLAK8 - 10.02.2009, 02:10
Re: Converting a string to a float? - by NovaParadox - 10.02.2009, 02:12
Re: Converting a string to a float? - by ICECOLDKILLAK8 - 10.02.2009, 02:15
Re: Converting a string to a float? - by NovaParadox - 10.02.2009, 02:20
Re: Converting a string to a float? - by ICECOLDKILLAK8 - 10.02.2009, 02:21
Re: Converting a string to a float? - by NovaParadox - 10.02.2009, 03:04

Forum Jump:


Users browsing this thread: 1 Guest(s)