read-number

read-number is a compiled Lisp function in `subr.el'.

(read-number PROMPT &optional DEFAULT)

Read a numeric value in the minibuffer, prompting with PROMPT.
DEFAULT specifies a default value to return if the user just types RET.
The value of DEFAULT is inserted into PROMPT.
This function is used by the `interactive' code letter `n'.