top | item 41777450

(no title)

boronine | 1 year ago

I think most of this is covered by a good Decimal API, currency stuff probably shouldn't be embedded into a language because it changes: currencies come and go, get redenominated etc. Although one simple thing that would be useful is keeping track of abstract units, e.g. throwing an error when attempting to do 10 USD + 10 EUR.

discuss

order

oblio|1 year ago

Don't we embed timezones, though?

explorigin|1 year ago

Timezone conversions don't change by the minute. Currency conversions do.