Only one decimal is allowed in text fields that are of type UIKeyboardTypeDecimalPad.