Actually I do not know how this is called and that is why I ask here.
I am working with currency and this way of presentation is important.
In ruby I need to have a value like 2.20 and not 2.2.
Examples:
2.201.round(2)
-> 2.20
and not 2.2
3.80989.round(2)
-> 3.80
and not 3.8
The problem is with the final 0, when it is another number there is no problem. 2.345.round(2)
-> 2.35
Any idea?