Annotated Ada Reference ManualLegal Information
Table of Contents   Index   References   Search   Previous   Next 

 2.4 Numeric Literals

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

Syntax

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

Table of Contents   Index   References   Search   Previous   Next 
Ada-Europe Sponsored by Ada-Europe