PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
SexagesimalToDecimal (Function)
In french: SexagésimalVersDécimal
Returns the decimal angle corresponding to a sexagesimal angle.
Versions 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Versions 22 and later
PHP This function is now available for PHP sites.
Android Widget This function is now available in Android Widget mode.
Android This function is now available for Android applications.
New in version 22
PHP This function is now available for PHP sites.
Android Widget This function is now available in Android Widget mode.
Android This function is now available for Android applications.
PHP This function is now available for PHP sites.
Android Widget This function is now available in Android Widget mode.
Android This function is now available for Android applications.
Versions 26 and later
Apple Watch This function is now available for Apple Watch applications.
New in version 26
Apple Watch This function is now available for Apple Watch applications.
Apple Watch This function is now available for Apple Watch applications.
Example
// Finds the angle in degrees corresponding to the latitude 45°53'36"
sLatitude is string = "45°53’36’’"
rLatitudeAngle is real = SexagesimalToDecimal(sLatitude)
Info("The latitude " + sLatitude + " corresponds to " + rLatitudeAngle + " °")
Syntax
<Result> = SexagesimalToDecimal(<Sexagesimal angle>)
<Result>: Real
Result of the conversion in decimal format.
<Sexagesimal angle>: Character string
Angle in sexagesimal format. This string has the following format: "XXX°XX’XX’’".
Business / UI classification: Neutral code
Component: wd260std.dll
Minimum version required
  • Version 18
This page is also available for…
Comments
Click [Add] to post a comment