119k views
5 votes
Which data type is 2.5?

User Ramzi
by
8.0k 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
8.0k points

No related questions found