decimal literal

decimal literals are also known as decimal constants. we can describe it from the mathematics known Arabic digits from 0 to 9.

decimal literal

Description

 1234
Data:
  • number -

Output

compatible programing languages:
Basic | Visual Basic .NET | FreeBASIC | C | C++ | Visual C++ .NET | C# | Java | JavaScript | Object Pascal | Pascal | Free Pascal | PHP

Examples

Example

decimal literal the possible of use:
x = 10;         // x = 10
y = 4 * 10;     // y = 40
if (x>5)
  y = x / 0xa;  // y = 1

Example

Other pieces of example codes:
10 * 5
a<5
x+y+30
100 - 2
3.14 - 1
10 - j * 0.5

you can find it in the following collections: constants
Languages: en hu cz sk