Fixed handling for decimal places