Commented and improved round & getDecimalNumber method