Это видео недоступно.
Сожалеем об этом.
BigDecimal: Avoid rounding errors on decimals in JavaScript (Node.TLV 2020)
HTML-код
- Опубликовано: 29 окт 2020
- By Daniel Ehrenberg.
Slides at www.slideshare...
Have you ever found yourself with a disappointing rounding error due to how Numbers work, or using awkward workarounds to avoid thinking about decimals? It's a shame that JavaScript chose binary floating point as its basic numeric type when it causes all of these problems. What can we do about it?
(c) Node.TLV 2020
www.nodetlv.com/
• Video
¡Gracias por todo el trabajo y los esfuerzos, mis camaradas! Seguimos LUCHANDO.
.toFixed() is extended from 0 to 20 to being 0 to 100