what best way replace comma dot in float, without messing culture / locale files - because parts of app depend on current setting.
is there maybe .replace() method or something?
txtairtime.text = "r" + new_val; (new_val @ time 1.61)
the compiler doing automatic float-to-string conversion, using current locale of emulator / phone.
you need explicit float-to-string conversion tells compiler not take account current locale.
txtairtime.text = "r" + new_val.tostring(system.globalization.cultureinfo.invariantculture);
Comments
Post a Comment