225k views
3 votes
Which data type is 2.5?
single
int
float
string

1 Answer

4 votes

2.5 is an example of a float.

Floats are numbers that have decimals.

User Shu Ding
by
8.1k points

No related questions found

Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.