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