Comments on Rounding numbers to special values in PHP - e. g. "nice prices"

Rounding numbers to special values in PHP - e. g. "nice prices" Sometimes you need to round numbers to special values. Maybe you have a shop and want to calculate your selling prices automatically, but you don't like prices like 12.52 USD. Here's a small PHP function that can be used in many different ways to solve this problem.

0 Comment(s)

Add comment

Please register in our forum first to comment.