| ||||
| Home Page | The Sun API | Gallery | InfoSearch | News | Links | Contact Us | ||||
|
Sunlit Design > The Sun API > Documentation > sdD2Text Function | ||||
|
- Introduction + Using the Functions + User Guide + Function Reference + Constants
|
sdD2Text FunctionDescriptionReturns a string representation of a degree value in Degree:Arcminute:Arcsecond (d:m:s) format. SyntaxsdD2Text(degree)
Return ValuessdD2Text returns a String value. The string is of the following format:positive degree values: " d:mm:ss.ssss" (with a
leading space) ss.ssss means that the arcsecond is returned with 4 decimal places. ErrorsIf the function detects an error in any of it's input parameters then it returns: "-99999999" RemarksThe sdD2Text function can also be used to convert an hour value to Hour:Minute:Second format. See below ExampleSolar Declination is -0.56 degrees. What is it as a d:m:s
value: Solar Hour Angle is 123.34 degrees. What is it as a d:m:s
value: This function works also for hours! |
|
||
| (c) 2001-2010 Sunlit Design www.sunlit-design.com Tue, 09 Mar 2010 02:50:33 PM +700 gives UT | ||||