Number with decimal

The number with decimal variable type is used as a container for numbers that may contain fractional, or decimal, components. The number with decimal can be both positive and negative. The data type will accept only the characters 0 to 9 , - (minus), . (period) and , (comma).

Note that the expression is used to store the variables initial value. This can be typed in.

Last updated