119k views
5 votes
Which data type is 2.5?

User Ramzi
by
6.4k points

1 Answer

2 votes

2.5 is a float.

Float stands for floating point. Floating point types are numbers with decimal places. I hope this helps!

User Aracelli
by
5.9k points