G
Guest
Hi,
Does anyone know if there is a way to modify the
Thread.CurrentThread.CurrentUICulture or Thread.CurrentThread.CurrentCulture
to make parsing of strings to numbers (gui input) work with both '.' and ','
as a decimal separator? And when numbers parsed to strings just one of the
separators should be used ('.' for instance)?
The thing is that i wouldnt want to modify all the places in my app when
numeric GUI input is parsed with some sort of custom decimal parser.
Does anyone have some idea how this can be solved?
Thanx!
/Peter Erikson
Does anyone know if there is a way to modify the
Thread.CurrentThread.CurrentUICulture or Thread.CurrentThread.CurrentCulture
to make parsing of strings to numbers (gui input) work with both '.' and ','
as a decimal separator? And when numbers parsed to strings just one of the
separators should be used ('.' for instance)?
The thing is that i wouldnt want to modify all the places in my app when
numeric GUI input is parsed with some sort of custom decimal parser.
Does anyone have some idea how this can be solved?
Thanx!
/Peter Erikson