double型データのフォーマット結果がおかしい
Closed this issue · 1 comments
zouhp841004 commented
-----取得データ-----
aaa=-6.245004513516506e-17
-----aaa.format("0.000")-----
bbb=new Number(aaa.format("0.000"))
結果
0
----------.format("0.0%")-----
ccc=bbb.format("0.0%").replace(/%/,"")
結果
"-0.0"
changkejun commented
さすが、これはしょうがないと思う。保留。