I'm trying to round the following number as follows:
6.89 <- dollars and cents
I need to use this number in calculations rounded down to the nearest 10c
.
Therefore I need: 6.80
To clarify I need a way to obtain the following example results:
1.32 --> 1.30
1.55 --> 1.50
6.89 --> 6.80
I can't seen how this can be done with Round
or Floor
.