Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper Tools . Books 1-3 - <b>setprec()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 SETPREC()
 Sets the precision level for trigonometric functions
------------------------------------------------------------------------------
 Syntax

     SETPREC(<nPrecision>) --> cNull

 Argument

     <nPrecision>  Designates the number of places for computational
     precision in the range of 1 to 16.  The default value is 16.

 Returns

     SETPREC() always returns a null string.

 Description

     SET PRECISION
     CA-Clipper Tools works with the default precision set at 16 places to
     the right of the decimal for trigonometric functions.  If you do not
     want this precision level, or you want a faster execution speed, reduce
     the number of places accordingly.  The following functions are affected:

     SIN()  COS()  TAN()  COT()  ASIN()  ACOS()  ATAN()  ATN2()

 Example

     Set a precision level of 10 places:

     SETPREC(10)         // Always returns a null string


See Also: GETPREC() SIN() COS() TAN() COT() ASIN() ACOS()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson