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.
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments