Floating-Point Division by Zero Error Message: Difference between revisions
From MultiCharts
Floating-Point Division by Zero Error Message (view source)
Revision as of 16:50, 19 May 2014
, 19 May 2014no edit summary
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
==Floating-Point Division by Zero Error Message== | ==Floating-Point Division by Zero Error Message== | ||
This error message may pop up in MultiCharts after you've applied a study to your chart. Floating point error means that there is a division by a variable in the code and this variable's value is zero. You need to identify this variable and fix it or to make sure that the | This error message may pop up in MultiCharts after you've applied a study to your chart. Floating point error means that there is a division by a variable in the code and this variable's value is zero. You need to identify this variable and fix it, or, to make sure that the variable's value is not zero in the code. | ||
To do this please use [[Print]] keyword to check value of the variables used in the script. | To do this please use the [[Print]] keyword to check the value of the variables used in the script. | ||
Alternatively, you can deduce it using the following piece of code | Alternatively, you can deduce it using the following piece of code |