engineeringpayments
Why we store money as an integer, never a float
0.1 + 0.2 is not 0.3 in JavaScript. Why Starter Kit stores every amount as an integer count of cents or paise, and formats it in exactly one place.
Engineering notes from the YoIndie studio: how our Mac apps and developer kits are built, and why.
0.1 + 0.2 is not 0.3 in JavaScript. Why Starter Kit stores every amount as an integer count of cents or paise, and formats it in exactly one place.