Numeric Literals
Author: JTC1/SC22/WG9/ARG, by Randall Brukardt, ARG Editor

Ada Reference Manual — Legal Information

# 2.4 Numeric Literals

1
There are two kinds of numeric_literals, real literals and integer literals. A real literal is a numeric_literal that includes a point; an integer literal is a numeric_literal without a point.

#### Syntax

2
numeric_literal ::= decimal_literal | based_literal
NOTES
3
3 The type of an integer literal is universal_integer. The type of a real literal is universal_real.

Ada 2005 and 2012 Editions sponsored in part by Ada-Europe