The simple answer is that there are many results that you may want when converting the value 120.5 to a decimal and so you need to choose which one you want.
The most obvious choices are round (which has several rounding modes) or ceil/floor
The simple answer is that there are many results that you may want when converting the value 120.5 to a decimal and so you need to choose which one you want.
The most obvious choices are round (which has several rounding modes) or ceil/floor