<story><title>How to Handle Monetary Values in JavaScript</title><url>https://frontstuff.io/how-to-handle-monetary-values-in-javascript</url></story><parent_chain></parent_chain><comment><author>projectileboy</author><text>Maybe it’s just that I’ve done a few gigs at financial institutions, but it’s pretty shocking to see the number of people in this thread arguing that it’s a-ok to use floating point for money. I don’t want to get dragged down into specifics, but if you’re doing this, please, please don’t. Money is one of those things like dates and times - everyone who hasn’t done much of it can’t figure out what all the fuss is about. Just... please, at a minimum, if you don’t want to be bothered, find a reputable third-party library with Money and Currency or some such, and use that. It really won’t add much work for you.</text></comment>
<story><title>How to Handle Monetary Values in JavaScript</title><url>https://frontstuff.io/how-to-handle-monetary-values-in-javascript</url></story><parent_chain></parent_chain><comment><author>reaperducer</author><text>&lt;i&gt;Banking apps, e-commerce websites, stock exchange platforms, we interact with money daily. We also increasingly rely on technology to handle ours.&lt;p&gt;Yet, there’s no consensus around how to programmatically handle monetary values.&lt;/i&gt;&lt;p&gt;I wonder if the average person would find this frightening.</text></comment>