hey all,
i'm new to c++ and can't seem to find what data type a triple didgit decimal is (like .123). can anyone help?
Printable View
hey all,
i'm new to c++ and can't seem to find what data type a triple didgit decimal is (like .123). can anyone help?
Well, you could use a float.
That would be a floating point data type. Generally all floating point numbers default to C++'s double.
-Prelude