Bug fix.

Fixed a bug that occurred while entering decimal numbers.