integerinput and floatinput functions