# Visual 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

- return - real numbers

### Examples

## Visual Basic .NET

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
```

## Visual Basic .NET

Other pieces of example codes:10 * 3.14

Dim x As single= 3.14159265359

`2.28`

x / 0.5

x > 3.14

2.5 / 2

you can find it in the following collections: constants

floatingpoint constant in another programming language: