$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Bronek Kozicki (brok_at_[hidden])
Date: 2004-09-06 15:02:06
Stefan Slapeta wrote:
> though this wouldn't be the usual approach as in other languages. I
> would go this way and add an optional parameter in boost::lexial_cast
> which would result in a syntax similar to .NET and Java:
>
> string s = lexical_cast<std::string>(1231.23, "#,#.00");
Fine idea. Would it work the other way, too, eg.
double d = lexical_cast<double>("1,231.23", "#,#.00");
?
B.