Recent Posts

How to reset a counter

Purpose: Original value is origVal, we want to use increase/decrease to update to a specified number How? origValue = origValue + expectedValue diff...

如何重設計數器

目的:原始值是 origVal,我們想要透過增加/減少來更新到指定的數字 怎麼做? origValue = origValue + expectedValue diff = expectedValue - origValue origValue = origValue + diff ...