[scilab-Users] From degree-minute-second form to decimal degree form

Mike Page Mike at Page-One.Waitrose.com
Wed May 9 14:19:33 CEST 2012


Lots of ways - here's a neat trick:

-->(datenum(0,1,1,12,6,23)-1)*24
 ans  =
 
    12.106  


-----Original Message-----
From: email1018 [mailto:viniciussucupira at gmail.com]
Sent: 09 May 2012 12:52
To: users at lists.scilab.org
Subject: [scilab-Users] From degree-minute-second form to decimal degree
form


Please, I would like a the step-by-step solution in scilab to:

Convert 12°6'23'' to decimal degree form correct to three decimal places. 

Answer: 12.106°

--
View this message in context: http://mailinglists.scilab.org/From-degree-minute-second-form-to-decimal-degree-form-tp3973874.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.

--
To unsubscribe from this mailing-list, please send an empty mail to
users-unsubscribe at lists.scilab.org
To check the archives of this mailing list, see
http://mailinglists.scilab.org/




More information about the users mailing list