
7 Sep
2004
7 Sep
'04
9:43 a.m.
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