-- 作者:zqs0595
-- 发布时间:2016/9/20 13:38:48
--
已调成2了,还是不行。
DEBUGFILE2(\'D:\\jztLog\\log.txt\',\'shigh = %.2f\',shigh,1); DEBUGFILE2(\'D:\\jztLog\\log.txt\',\'close = %.2f\',CLOSE,1); DEBUGFILE2(\'D:\\jztLog\\log.txt\',\'down = %.2f\', ROUNDS((shigh - CLOSE)/shigh,2),1); DEBUGFILE2(\'D:\\jztLog\\log.txt\',\'down = %.2f\',(shigh - CLOSE)/shigh,1);
对应日志:
2016-09-20 13:36:29.458 shigh = 2264.00 2016-09-20 13:36:29.458 close = 2258.00 2016-09-20 13:36:29.458 down = 0.00 2016-09-20 13:36:29.458 down = 0.00
无法理解。。。
|