Number

Number

represents an exact integer or an approximate real number in Read.

Details

  • An integer is returned if no explicit decimal point is present.
  • Approximate real numbers can be given in C or Fortran forms, such as 2.4E5 or -3.4e-4.

Examples

Basic Examples  (1)

Open a stream:

Read numbers from the stream object:

Close the stream:

Wolfram Research (1988), Number, Wolfram Language function, https://reference.wolfram.com/language/ref/Number.html.

Text

Wolfram Research (1988), Number, Wolfram Language function, https://reference.wolfram.com/language/ref/Number.html.

CMS

Wolfram Language. 1988. "Number." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/Number.html.

APA

Wolfram Language. (1988). Number. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Number.html

BibTeX

@misc{reference.wolfram_2024_number, author="Wolfram Research", title="{Number}", year="1988", howpublished="\url{https://reference.wolfram.com/language/ref/Number.html}", note=[Accessed: 21-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_number, organization={Wolfram Research}, title={Number}, year={1988}, url={https://reference.wolfram.com/language/ref/Number.html}, note=[Accessed: 21-November-2024 ]}