Boost logo

Boost :

From: Stefan Slapeta (stefan_at_[hidden])
Date: 2004-09-07 04:43:56


Bronek Kozicki wrote:

>
>
> Fine idea. Would it work the other way, too, eg.
>
> double d = lexical_cast<double>("1,231.23", "#,#.00");
>

No, I think that's no good idea. This would be the same as removing
everything except the decimal separator from the string and use
lexical_cast<double> then.

Stefan


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk