leopoldgod's recent timeline updates
leopoldgod

leopoldgod

V2EX member #433458, joined on 2019-08-02 00:15:47 +08:00
leopoldgod's recent replies
Sep 26, 2019
Replied to a topic by a494836960 JavaScript JS 的 toFixed 方法到底是怎么取值的
网上很多人人云亦云,说 toFixed 是银行家舍入,其实并不是,自己试一下就知道了。五前为偶要舍去的反例:(10.1250).toFixed(2)//10.13 ,五前为奇要进一的反例:(10.2150).toFixed(2)//10.21 。
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5489 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 14ms · UTC 06:54 · PVG 14:54 · LAX 23:54 · JFK 02:54
♥ Do have faith in what you're doing.