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
DecimalToSexagesimal (Function)
In french: DécimalVersSexagésimal
Returns the sexagesimal angle (in base 60) corresponding to a decimal angle.
Example
// Finds the sexagesimal angle corresponding to an angle of 128.91°
rAngle is real = 128.91
sSexagesimalAngle is string = DecimalToSexagesimal(rAngle)
Info("An angle of " + rAngle + "° corresponds to: " + sSexagesimalAngle)
Syntax
<Result> = DecimalToSexagesimal(<Angle>)
<Result>: Character string
Result of the conversion in sexagesimal format. This string has the following format:
XXX°XX'XX''
<Angle>: Real
Angle in decimal format that must be converted.
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