A floating point variable can represent a very wide range but with a fixed number of digits in accuracy.
Types Of Float Datatype
1. Double (8 bytes/64 bits)
Syntax:
Double db = 99.5;
2. Decimal
A number that includes a decimal part. A Decimal is an arbitrary precision number.
Syntax:
Decimal deci = 99.5;
Note:
Currency fields are automatically defined as type decimal.
