Hacker News new | ask | show | jobs
by Yaa101 1272 days ago
Fixed point math is common in software made for business applications because of rounding problems with binary floating point math.

The following link is an example of a good quality fixed point math library and shows you how it is done.

https://pkg.go.dev/github.com/shopspring/decimal?utm_source=...

1 comments

You are explaining to me something in which I am already an expert. Thank you! Buenbot!