Literals are fixed data values. For example, in the expression PRICE * 1.05, the value 1.05 is a constant. Literals are classified into types, including the following:
•
•
•
•
•
Table 17. Literal Syntax Examples n is any valid integer value in the range of the INTEGER data type ‘yyyy-mm-dd’ ‘yyyy-mm-dd hh:mm:ss.SSSSSS' n is the integral partf is the fractional partx is the exponent where n is a valid integer value in the range of the INTEGER data type ‘hex_value’ ‘value’ ‘hh:mm:ss’ ‘value’
![]() |
© 2013 Progress Software Corporation and/or its subsidiaries or affiliates. |