This shows you the differences between two versions of the page.
Next revision Both sides next revision | |||
en:numericconstants [2016/01/01 22:41] 127.0.0.1 external edit |
en:numericconstants [2016/01/01 23:01] admin |
||
---|---|---|---|
Line 1: | Line 1: | ||
===== Numeric Constants ===== | ===== Numeric Constants ===== | ||
- | Numeric constants are any numeric characters, preceded by an optional minus sign to indicate negative numbers, and an optional decimal followed by more numeric characters to indicate floating point values. | + | Numeric constants are any numeric characters, preceded by an optional minus sign to indicate negative numbers, and an optional decimal followed by more numeric characters to indicate floating point values. |
- | ^Decimal | + | Examples include: |
+ | |||
+ | ^Integer | ||
|10| | |10| | ||
+ | |-2345| | ||
+ | |0| | ||
+ | |||
+ | ^Decimal Numbers^ | ||
|-234.567| | |-234.567| | ||
|56.87| | |56.87| |