# (getreal \[prompt\]) [GstarCAD 2011](../../../Index.md) → [Developer Reference](../../%28Developer%20Reference%29.md) → [AutoLISP Reference](../%28AutoLISP%20Reference%29.md) → [LISP Functions](%28LISP%20Functions%29.md) <!-- help-structure:notice --> > **Source status:** This source topic has 1 recorded inherited issue(s). [Source issue details](../../../Source%20Issues.md). <!-- /help-structure:notice --> <a id="193"></a> ## (getreal \[prompt\]) --- Ask the user to specify a real number. --- This function waits for user input of a [real number](../../../Source%20Issues.md#issue-f35e3740f400e6c9) and returns that real number. You can supply a *prompt* argument asking the user to enter a number. ### Examples | Code | Returns | | --- | --- | | (**getreal**) *\[type -5\]* | *no response* *\-*5.0 | | (**getreal** "Scale factor: ") *\[type 5* | Scale factor 5.0 | **Tell me about...** [(getint \[prompt\])](%28getint%20-prompt-%29.md) [(getpoint \[point\] \[prompt\])](%28getpoint%20-point-%20-prompt-%29.md) [(getstring \[flag\] \[prompt\])](%28getstring%20-flag-%20-prompt-%29.md) [LISP Compatibility](../LISP%20Compatibility.md) [Programming Overview of LISP (LISt Processing) Language](../Programming%20Overview%20of%20LISP%20%28LISt%20Processing%29%20Language.md) <a id="holding"></a> ## Other versions with matching text [GstarCAD 2012](../../../../2012/Developer%20Reference/AutoLISP%20Reference/LISP%20Functions/%28getreal%20-prompt-%29.md)