(getreal [prompt])
The getreal function waits for user input of a floating-point value and returns the real number.
prompt
If the optional argument prompt contains a valid string, it is displayed in the Command Window; otherwise, no prompt is displayed.
The function returns the real number specified by the user.
Examples
: (getreal)
: (getreal "Width:")
Related Functions