2.5 is a float.
Float stands for floating point. Floating point types are numbers with decimal places. I hope this helps!
9.4m questions
12.2m answers