Basic - Floatingpoint constant

Signed decimal number, is made from whole and fractional part . in addition, we have the option to enter the floating point number with a decimal exponent.

floatingpoint constant

Description

 12.345

Output

Compatible programing languages:
Visual Basic .NET | FreeBASIC

Examples

Basic

Floatingpoint constant the possible of use:
x = 1.234         ' x = 1.234
y = x * 3.14      ' y = 3.87476
if y<5 then
   y = y/ 3.14    ' y = 1.234
end if

Basic

Other pieces of example codes:
3.14 - 1
x / 0.5
3.14
1.9
Dim x As double= 3.14159265359
100 * 1.2

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