shortened rounding off method

Signed-off-by: Liew Zhao Wei <zhaoweiliew@gmail.com>
ill just export to classes

Signed-off-by: Liew Zhao Wei <zhaoweiliew@gmail.com>