v1.0.1.127 - properly round decimal calculation