• Buckshot@programming.dev
    link
    fedilink
    arrow-up
    9
    ·
    1 year 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.