請問計時器是否能採計到小數點?

我自己的寫法是這樣,但這樣寫會有延遲

//開始計時
startCountTime: function () {
this.unscheduleAllCallbacks();
this.schedule(function () {
this.countTime();
}, 0.01);
},

//回調函數
countTime: function () {
this.count += 0.01;
this.node.getComponent(cc.Label).string = "Time Count : " + this.count.toFixed(2);
}

如果不用上面的方式,改成這樣就不會有延遲
this.schedule(function () {
this.node.getComponent(cc.Label).string ="Time Count : " + this.count++;
}, 1);

請教一下各位大神,cc的計時器能做到使用小數點卻又不延遲嗎?謝謝各位

你这样子写看看

js单线程,计时器有误差的