
9 Nov
2006
9 Nov
'06
10:16 p.m.
Hello! Is it possible to set a locale for the lexical_cast? It looks like that it is only possible to convert english/us numbers to a string? Example: float a = boost::lexical_cast<float>("12,3"); This would be in english 12.3. But I get a bad_cast exception for german numbers. A locale would be very helpful. Best regards Amin Kharchi