Refactored assumed decimal value parsing to Calculator::getDecimal
Improved code documentation