ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Standard functions / Numeric values functions / Math functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
DecimalToSexagesimal (Function)
In french: DécimalVersSexagésimal
Returns the sexagesimal angle (in base 60) corresponding to a decimal angle.
Example
// Cherche l'angle sexagésimal correspondant à un angle de 128.91°
rAngle is real = 128.91
sAngleSexagésimal is string = DecimalToSexagesimal(rAngle)
Info("Un angle de " + rAngle + "° correspond à : " + sAngleSexagésimal)
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: wd300std.dll
Minimum version required
  • Version 18
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/27/2025

Send a report | Local help