Syntax
SetPrec( nDecimalPlaces ) --> cNullStringArguments
nDecimalPlaces
Example
PROCEDURE Main()
Check( 'SetPrec( 10 ) ', SetPrec( 10 ), "" )
Check( 'GetPrec() ', GetPrec(), 10 )
Check( 'SetPrec( 99 ) ', SetPrec( 99 ), "" )
Check( 'GetPrec() ', GetPrec(), 10 )
RETURN
STATIC PROCEDURE Check( cTitle, xResult, xExpected )
QOut( cTitle + IIF( xResult == xExpected, "OK", "ERROR" ) )
RETURNOutput
SetPrec( 10 ) OK
GetPrec() OK
SetPrec( 99 ) OK
GetPrec() OK