Get integer

Explanation
get_integer is very much like, but will pop up an input dialog box that will allow the user to enter a number. str is the message you want displayed on this dialog box and def is a default number that will be automatically placed inside the input box. There must be a default number, you cannot leave it empty. Also note that the default number is not surrounded by quotes, as it is a real value (not a string).

Example
You can use a variable for the default number if need be although the variable must hold the string of that number: age = 66; // Note this is a real number age = get_integer("What is your age?",age);