2010/1/27 yanqzhi:
>
> hi,
>
> When a string converts to a float, the float returned does't exactly match
> the string;
>
> QString str("57.130");
> float a = str.toFloat();
>
> the float is 57.130001.
>
http://www.parashift.com/c++-faq-lite/newbie.html#faq-29.16
--
Hope this helps,
Stephen Jackson