Go back to Richel Bilderbeek's homepage.
Go back to Richel Bilderbeek's C++ page.
float is a keyword for the data type to store a real number, for example the value of pi.
Consider using double exclusively for floating-point types used in a class interface unless there is compelling reason to use float or long double instead [1].
float x = 1.23456789; |
Go back to Richel Bilderbeek's C++ page.
Go back to Richel Bilderbeek's homepage.