+1 888 340 6572

FpcMedAccuracy: Difference between revisions

From MultiCharts
(Created page with "Constant, used in combination with SetFPCompareAccuracy to designate the floating point compare tolerance value of 2.2204460492503131e-12; can be substituted by a numerica...")
 
Line 11: Line 11:
Set the floating point compare accuracy to Medium:  
Set the floating point compare accuracy to Medium:  


SetFPCompareAccuracy(fpcMedAccuracy);  
<syntaxhighlight>SetFPCompareAccuracy(fpcMedAccuracy);</syntaxhighlight>


Set the floating point compare accuracy to Medium:  
Set the floating point compare accuracy to Medium:  


SetFPCompareAccuracy(2);  
<syntaxhighlight>SetFPCompareAccuracy(2);</syntaxhighlight>




[[Category:Execution Control]]
[[Category:Execution Control]]

Revision as of 12:08, 23 January 2012

Constant, used in combination with SetFPCompareAccuracy to designate the floating point compare tolerance value of 2.2204460492503131e-12; can be substituted by a numerical value of 2.

Usage

SetFPCompareAccuracy(fpcMedAccuracy)

or:

SetFPCompareAccuracy(2)

Example

Set the floating point compare accuracy to Medium:

SetFPCompareAccuracy(fpcMedAccuracy);

Set the floating point compare accuracy to Medium:

SetFPCompareAccuracy(2);