Logo: Relish

  1. Sign in

Project: Corrency

Nice Rounding

In order to make prices look nicer to customers
As a user of the Corrency Library
I should be able to round a number up to the nearest 99

Rolling Prices up to the next ninety nine
there is a value of price
I should have a price nearest ninety nine of nice_price
price nice_price
61.33 61.99
90.00 89.99
100.00 99.99
3.43 3.99

Last published over 7 years ago by Rob.