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 (or floating-point numbers) are used to represent real numbers that can have fractional parts, which are indicated by the decimal point.

The other options you mentioned:

  • Binary represents numbers using only 0s and 1s.
  • Long integer (or simply "long") represents whole numbers but does not include a decimal point.
  • Boolean represents truth values (true or false) and does not involve numerical values.