How to convert decimal degree to degree minutes seconds in kodular

How to convert decimal degree to degree minutes seconds in kodular.

Or any extension available for this

2 Likes

Welcome to :kodular: Community.
Hi, I hope your question is related to Geography,
You can use the “Math Component” to do that.

Example: logic.aia (3.6 KB)

See Method & Formula here

• Example(Convert decimal degrees 156.742 to degrees minutes seconds):

1. The whole number is degrees. So 156.742 gives you 156 degrees.

2. Multiply the remaining decimal by 60.
0.742*60 = 44.52, so the whole number 44 equals minutes.

3. Multiply the remaining decimal by 60.
0.52*60 = 31.2, so the whole number 31 equals seconds.

4. Decimal degrees 156.742 converts to 156 degrees, 44 minutes and 31 seconds, or 156° 44' 31".

Related Extension (Convert UTM to Degree( latitude / longitude ) and Degree to UTM)

Hope this Helps (Reply if you want block Representation).

3 Likes

If you give me block representation it will helpful for me.

I’m very beginner for kodular also I’m non programmer I’m learning kodular to create my own astrology software.

2 Likes

A very good way to learn App Inventor or Kodular is to read the free Inventor’s Manual here in the AI2 free online eBook App Inventor 2 Book: Create Your Own Android Apps … the links are at the bottom of the Web page. The book ‘teaches’ users how to program with AI2 blocks.
There is a free programming course here Course In A Box and the aia files for the projects in the book are here: App Inventor 2 Book: Create Your Own Android Apps
How to do a lot of basic things with App Inventor are described here: How do you...? .

Also do the tutorials Our Tutorials! to learn the basics of App Inventor, then try something and follow the Top 5 Tips: How to learn App Inventor

Taifun

2 Likes

Hi,

logic.aia (3.6 KB)

i created a simple logic to convert decimal degree to degree minute second.

you can directly implement this in your app or learn the basics by studying it.

Hope this helps.

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.