setprecision
setprecision |
Purpose
Sets the precision relativity and value of a cpfloatvar
Synopsis
procedure setprecision(x:cpfloatvar, relativity:boolean, precision:real)
procedure setprecision(x:cpfloatvar, precision:real)
Arguments
x
|
the variable
|
relativity
|
relativity of precision
|
precision
|
precision value
|
Example
The following picture illustrates the concept of precision for a cpfloatvar
