3 ms·
Yes, and sometimes the context is not just social but legal or contractual, e.g. rounding currency.
by coreload 2y ago
Yes, and sometimes the context is not just social but legal or contractual, e.g. rounding currency.
- ebiester 2y agoYes, and rounding currency is just something that is always handled, as is the number of places that you take a currency out to - for example, gas is often priced at thousandths of a dollar rather than hundreds but presented to the customer in hundredths at the end. Or Yen in most cases does not have a decimal point, except that the places where you round or don't round can be consequential in large enough quantities. These are largely things that can be handled by a library, but if it's in the language you best not get it wrong because it's so much harder to change!
- benatkin 2y agoFrom my perspective those are tenths of a cent. Stripe has integer values for cents. Am I wrong here? https://stackoverflow.com/questions/35326710/stripe-currency-are-all-amounts-in-cents-100ths-or-does-it-depend-on-curren https://stackoverflow.com/questions/35326710/stripe-currency...