• SmoothLiquidation@lemmy.world
    link
    fedilink
    English
    arrow-up
    11
    ·
    17 hours ago

    As other people mentioned, things like the decimal structure works well, but you can also just use an int to store how many pennies something costs and convert it to dollars for display.