cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
double-precision floating-point numbers?
double-precision floating-point numbers?
Oct 31, 2008 at 9:44pm UTC
willia23
(29)
I know that there are floating numbers in c++ but want to know if there is double-precision floating-point numbers? Why do I ask? Because I learned lua before c++ and that is the automatic number type and lua runs really well for me :).
Oct 31, 2008 at 10:06pm UTC
Bazzy
(6281)
|Precision:_|_Declaration:____|_Numeric Example:_|
|__single__|___
float
______|____
123.456f
_____|
|_ double__|__
double
______|____
123.456
______|
Last edited on
Oct 31, 2008 at 10:15pm UTC
Oct 31, 2008 at 11:30pm UTC
willia23
(29)
Thanks for the help. What do u add the begging of the variable?
Last edited on
Oct 31, 2008 at 11:32pm UTC
Topic archived. No new replies allowed.