Basic - 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:
Visual Basic .NET | FreeBASIC

Examples

Basic

Decimal literal the possible of use:
x = 10         ' x = 10
y = 4 * 10     ' y = 40
if x>5 then
  y = x / &Ha  ' y = 1
end if

Basic

Other pieces of example codes:
(x+y+30)+3
95 - 5
(10 - j * 0.5) * 2
(x mod y) mod 5
i=5
2 and (i and 4)

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