c++ - Locale independed float input and boost::program_options/istringstream -
i've developed small application waits float values input through command line/boost::program_options .
also parts of application use std::stringstream formatting floats required precision.
my question - need special manipulation proper working of code on systems different locale settings ( because of decimal point separator) ?
i tested application different versions of windows xp localisation, , it's working (arabic, finnish, china, france, hebrew, korea, deutch, turkey, portugal, spanish, polish, japan, english, russian)
i have found topics issues related float string , string float conversion, caused decimal separator - , want sure .
thank you.
Comments
Post a Comment