• Buckshot@programming.dev
    link
    fedilink
    arrow-up
    8
    ·
    10 months ago

    And remember not all currencies are 2dp so get a list and use the appropriate exponent.

    I had to update our currency database this week because there’s new currencies. It’s almost as bad as timezones.