News for hackers. Stuff that matters.
Re:Fintech Engineering Handbook by dgunay on Saturday June 27, 2026 @06:03PM (#48702197)
All of the data we control (in the database, in our apis, etc) is integer cents. When we have to interface with a system that represents money using JSON numbers as dollars.cents, we parse or serialize it into an arbitrary precision decimal type. Hasn't been much of a problem.
Re:Fintech Engineering Handbook by foobarian on Saturday June 27, 2026 @10:22PM (#48703755)
This started out fine for us except that int32s were a bad idea and upgrading was painful
Re:Fintech Engineering Handbook by dgunay on Sunday June 28, 2026 @01:18AM (#48704606)
That's definitely valid, for b2c applications though a lot of the time you will never deal with numbers of that magnitude.