Difference between revisions of "FpcLowAccuracy"

From MultiCharts
Jump to navigation Jump to search
(Created page with "Constant, used in combination with SetFPCompareAccuracy to designate the floating point compare tolerance value of 2.2204460492503131e-10; can be substituted by a numerica...")
 
m (Reverted edits by 176.8.90.7 (talk) to last revision by JoshM)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Constant, used in combination with [[SetFPCompareAccuracy]] to designate the floating point compare tolerance value of 2.2204460492503131e-10; can be substituted by a numerical value of 1.  
+
A constant used in combination with [[SetFPCompareAccuracy]] to designate the floating point compare tolerance value of 2.2204460492503131e-10; can be substituted by a numerical value of 1.  
 
   
 
   
==== Usage ====
+
== Usage ==
<syntaxhighlight>SetFPCompareAccuracy(fpcLowAccuracy)</syntaxhighlight>
+
<syntaxhighlight>SetFPCompareAccuracy(fpcLowAccuracy);</syntaxhighlight>
  
 
or:  
 
or:  
  
<syntaxhighlight>SetFPCompareAccuracy(1)</syntaxhighlight>  
+
<syntaxhighlight>SetFPCompareAccuracy(1);</syntaxhighlight>  
 
   
 
   
==== Example ====
+
== Example ==
 
Set the floating point compare accuracy to Low:
 
Set the floating point compare accuracy to Low:
  
Line 16: Line 16:
  
 
<syntaxhighlight>SetFPCompareAccuracy(1);</syntaxhighlight>  
 
<syntaxhighlight>SetFPCompareAccuracy(1);</syntaxhighlight>  
 
 
  
 
[[Category:Execution Control]]
 
[[Category:Execution Control]]

Latest revision as of 13:10, 13 February 2012

A constant used in combination with SetFPCompareAccuracy to designate the floating point compare tolerance value of 2.2204460492503131e-10; can be substituted by a numerical value of 1.

Usage

SetFPCompareAccuracy(fpcLowAccuracy);

or:

SetFPCompareAccuracy(1);

Example

Set the floating point compare accuracy to Low:

SetFPCompareAccuracy(fpcLowAccuracy);

Set the floating point compare accuracy to Low:

SetFPCompareAccuracy(1);