- Added logic for handling decimal values