Book Contents

Book Index

Next Topic

Home

Numeric Constants

Syntax

digits

| digits.[digits][e[+-]digits]

| [digits].digits[e[+-]digits]

| digitse[+-]digits

| NaN

Semantics

digits represents one or more numeric characters (0 through 9).

Nan means "not a number" and can be used in expressions.

Notes

Examples

42

3.5

4.

.001

5e2

1.925e-3