| ||
| Home Page | The Sun API | Gallery | InfoSearch | News | Links | Contact Us | ||
|
Sunlit Design > The Sun API > Documentation > sdD2Unit Function | ||
|
- Introduction + Using the Functions + User Guide + Function Reference + Constants
|
sdD2Unit FunctionDescriptionReturns the result of converting adegree value to another unit
SyntaxsdD2Unit(degree,tounit)
Return ValuessdD2Unit returns a double precision number.ErrorsIf this function finds any errors in it's input parameter(s) it returns -99999999 RemarksThe function converts between units of time (Day, Hour, Minute, Second) and units of rotation (Degree, Arcminute, Arcsecond, Radian) on the basis that:
You can convert a value in another unit to degrees using the complementary sdUnit2D function. Example To convert 23.45 degrees to radians
|
|
| (c) 2001-2010 Sunlit Design www.sunlit-design.com Wed, 10 Mar 2010 07:50:26 PM +700 gives UT | ||