Adding exception fallback in case wrong parameters are supplied to the new decimal helper.