
13 Aug
2012
13 Aug
'12
11:56 a.m.
Hi, The default behavior of lexical_cast<string>(a_double_variable) will result in a number string that is very long and barely readable. Is it possible to customize the way lexical_cast<string>(a_double_variable) can have a similar result as '%.2f' or '%.3e'? Thank you! wdg