#141 - Maxlength for decimal numbers

Fixed issue #141, so that decimal numbers have enough max-length in
input field, accounting for the decimal character.