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
DecimalToSexagesimal (Function)
In french: DécimalVersSexagésimal
Returns the sexagesimal angle (in base 60) corresponding to a decimal 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 the PHP sites.
Android This function is now available for Android applications.
Android Widget This function is now available in Android Widget mode.
New in version 22
PHP This function is now available for the PHP sites.
Android This function is now available for Android applications.
Android Widget This function is now available in Android Widget mode.
PHP This function is now available for the PHP sites.
Android This function is now available for Android applications.
Android Widget This function is now available in Android Widget mode.
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.
Component : wd240std.dll
Minimum version required
  • Version 18
This page is also available for…
Comments
Click [Add] to post a comment