jquery - Can I get operating system's measurement system (metric or US) in javascript -


Is there a way of measurement system to use JavaScript / Java? I need to display some distance and speed values ​​on the page, but it seems that there is no such a function call, I can get this information.

No, you can not do it straight away.

You can try this, though: Try to get localization information from http headers or pages (Lang attribute etc). Then you can try to do something and see who you came with.


Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -