[<<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()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson