|
Boost Users : |
From: Andreas Ries (andreasries_at_[hidden])
Date: 2008-04-09 10:57:55
Hi,
I'm using the borland toolset 5.8.2 under Win XP and have a problem
doing the following:
double val = 795.6352;
string result = boost::lexical_cast <string> (val);
the resulting string is: "795.63520000000005" with boost 1_35_0
the resulting string is: "795.6352000000001" with boost_1_34_0
Can anybody help?
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net