890
Days since last timezone issue
(lemmy.ml)
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
For this specific project, I need max 2-3 decimal places of precision. So rounding really fixes all the issues. It’s more that we’re preventing the user from seeing awkward decimals. We aren’t doing rocket science. But understanding what metrics need what precision, and sometimes the same metric needs a different precision in different contexts.
In money you can work in cents and round fractions to whole cents in someone's favour depending on policy for example my home accounting program rounds divided amounts up in transfers to the various accounts. It's pretty good right now with a can't being such an insignificant value.