Convert Degree Decimal to Degree Minute Second

How do I get the Integer Value of a decimal number??

Use the round block.
Format decimal block may work as well by setting the places to 0 ( not tested )

Round dosent work well. If it is 28.931, I get 29 !!! I shud be getting 28

Split text at .
Select first item

Nope.that is the rounding.If you want to get the exact value follow @vknow360 answer.


What you do depends on what you are attempting to do. The equations to convert Convert Degree Decimal to Degree Minute Second are:

If you want to round down a decimal, try floor floor

Floor worked ! Thank

Kindly mark @TIMAI2 's reply as solution.

Here is how to convert Decimal Degrees to Degrees Minutes Second and how to convert DMS to Decimal degrees for anyone who is interested

1 Like