What kind of number uses a decimal point?

-binary
-float
-long integer
-boolean

1 answer

A number that uses a decimal point is a float. Floats are used to represent numbers that have fractional parts, which make them suitable for calculations that require more precision than whole numbers (like integers).

The other options are:

  • Binary: A number system that uses only 0 and 1.
  • Long integer: A type of integer that can hold larger values but does not include decimal points.
  • Boolean: A data type with only two possible values: true or false.