
29 Jun
2006
29 Jun
'06
4:58 p.m.
Philippe Vaucher wrote:
Is there anything in Boost which I can use to convert a more descriptive string like "60%" to a double?
The real answer is I don't know but maybe something like the following should do:
Yes, I use now "something like this". :) However I wonder if there is something more comfortable. The facets in std::locale::numeric seem to support all kinds of punctuation but no percent sign. Boris