ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Numeric values functions / Math functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
SexagesimalToDecimal (Function)
In french: SexagésimalVersDécimal
Returns the decimal angle corresponding to a sexagesimal angle.
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: wd290std.dll
Minimum version required
  • Version 18
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help