[lexical_cast] is it possible to customize the conversion from double to string?

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
4576
Age (days ago)
4576
Last active (days ago)
0 comments
1 participants
participants (1)
-
Wu Degang