PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
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 22 and later
WEBDEV - Server codePHP This function is now available for the PHP sites.
New in version 22
WEBDEV - Server codePHP This function is now available for the PHP sites.
WEBDEV - Server codePHP This function is now available for the PHP sites.
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 : wd250std.dll
Minimum version required
  • Version 18
This page is also available for…
Comments
Click [Add] to post a comment