0

Some Arabic Android phones show the latitude/longitude in Arabic numbers.

How can I capture the latitude/longitude values in English numbers in some Arabic phones?

sample: location.longitude = "٣٥٫٠٠٢٣٨٨٣"

try to convert to this: 35.0023883

Thanks Niz

j0k
  • 22,600
  • 28
  • 79
  • 90
Nizzy
  • 1,879
  • 3
  • 21
  • 33
  • The term **Natural numbers** has a specific meaning, regardless of locale, and I don't see how it applies here. What do you mean by Natural numbers? – andy256 Sep 11 '13 at 22:55
  • Here is the answer: http://stackoverflow.com/questions/5316131/convert-string-to-another-locale-in-java#12568809 – Nizzy Sep 12 '13 at 06:26

0 Answers0