TB旗舰版Floor和Ceiling函数BUG
用以下代码测试出Floor函数bug,望尽快解决,谢谢!!!// 简称: Testing// 名称: Testing// 类别: 公式应用// 类型: 用户应用// 输出://------------------------------------------------------------------------Vars Numeric HH1; Numeric LL1; Numeric HH2; Numeric LL2; Numeric ML1; Numeric ML2; Numeric Test1; Numeric Test2; Numeric V2;Begin HH1=781.5; LL1=760.5; ML1=0.5*(HH1+LL1); Test1=Floor(ML1,MinMove*PriceScale); HH2=782; LL2=760.5; ML2=0.5*(HH2+LL2); Test2=Floor(ML2,MinMove*PriceScale); V2=771; Commentary( MinMove*PriceScale = +Text(MinMove*PriceScale) ); Commentary( ML1 = +Text(ML1) ); Commentary( Floor(ML1,MinMove*PriceScale) = +Text(Test1) ); Commentary( ML2 = +Text(ML2) ); Commentary( Floor(ML2,MinMove*PriceScale) = +Text(Test2) ); Commentary( V2 = +Text(V2) ); If (V2>=Test2) Commentary(V2>=Floor(ML2,MinMove*PriceScale)可以为True); Else Commentary(V2>=Floor(ML2,MinMove*PriceScale)不能为True);End