(getreal [prompt])
Ask the user to specify a real number.
This function waits for user input of a real number 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 |
en
italiano
čeština
Deutsch
français
hrvatski
magyar
polski
српски
русский
中文
中文
한국어
español