Support Board
Date/Time: Thu, 16 Jan 2025 09:48:54 +0000
Post From: ZF futures, Big problem using the function sc.TickSize
[2017-10-20 16:39:26] |
User210074 - Posts: 63 |
Hello, I have a problem of comparison using the data of the function sc.TickSize ( ZF futures ). I get the value in message log which is 0.007813 (ZF : sc.TickSize -> 0.007813) I use this value in my function. I can not understand what's going on. I can not get the message "True" /*....*/ float T = sc.TickSize; if(T == 0.007813f){sc.AddMessageToLog("True", 1);} else{sc.AddMessageToLog("False", 1);} I don't understand what 's happen !!! |