Corrected error message shown when decimal number is entered