Keil Logo

getdbl

Summary
double getdbl(
  prompt);    /* prompt string */
Description

The getdbl debugger function prompts you, with the prompt string, to enter a number.

Return Value

The getdbl debugger function returns either the double value of the entered number or a valule of 0.0 if a valid number is not entered.

See Also

getint, getlong

Example
getdbl ("Enter the value of pi");
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.