Add Osdutil.getSystemDecimalCharacter() #183
Replies: 5 comments 2 replies
-
Added in v5.0.0_upstream, follow up v5.0.0a @AroonPro |
Beta Was this translation helpful? Give feedback.
-
Hi, |
Beta Was this translation helpful? Give feedback.
-
Hello I have a french device and we use , as a separatorDidn't experience that.Also, I thought there was a specific method in android to get the current decimal separator. Any reason why not using it? ( I'm curious)PierreSent from Android deviceLe 2 mai 2024 05:19, AroonPro ***@***.***> a écrit :
Closed #183 as resolved.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hi, You are right, the export doesn't work. Pierre |
Beta Was this translation helpful? Give feedback.
-
Thanks - I have created an issue for it (#185) |
Beta Was this translation helpful? Give feedback.
-
Char getSystemDecimalCharacter {
float oneTenth=1/10
return SubString((String(oneTenth), 2,3)
}
This function needs to be called in onCreate() of Loge port to fill in the decimal point or to parse the string of European decimal to imperial decimal.
Leaving European decimal in time gives an Exception which even failes immediately without "sticking" in osd exception handler.
@jones139 can you in the meantime handle this in all branches?
Beta Was this translation helpful? Give feedback.
All reactions