3 ms·
> So outside of niche scientific uses or something like graphics where you need performance, what do you really need floating point numbers for? I haven't had a
by theseoafs 11y ago
> So outside of niche scientific uses or something like graphics where you need performance, what do you really need floating point numbers for? I haven't had a need for floating point numbers outside of some mathematical formulae.
This is... a weird thing to say. Obviously floats are going to be most useful for math, and not useful for much else. They're number types.
- iopq 11y agoYes, but decimal numbers would be useful in: 1. Game score display where fractional points are possible 2. Currency 3. Any amount displayed to humans (like pounds of beef sold) because decimal number correspond to what you're going to display to the user, while binary numbers are only useful for the result they produce inside an algorithm
- theseoafs 11y agoSo what is your point?