|
From: Zodiaq <zo...@ac...> - 2003-11-03 22:55:22
|
Hello all Dev-cpp-users, is there a way to force treting , in numbers as . ?? In Poland there is a strange habit of writing numbers this way: number,fraction 13,75 no usual: number.fraction 13.75 using ifstream extraction loses fraction value... there is way to read line, and replace each , with . then use istringstream on in and at last use normal extraction... lot of work - maybe there is other simplier way?? -- regards Zodiaq |