+ 1

What is a double variable

21st Oct 2016, 3:21 PM
Ashwin Manoj
7 Réponses
+ 7
Double is a data type for decimal numbers. Example: double PI = 3.14159265359;
21st Oct 2016, 3:35 PM
Zen
Zen - avatar
+ 3
cananyone give me an example?
21st Oct 2016, 3:25 PM
Ashwin Manoj
+ 2
Double variable is one of the fundamental C++ datatype that can store very large data and occupies 8 bytes in the memory
21st Oct 2016, 3:23 PM
Mridul Rai
Mridul Rai - avatar
0
Thanks guys
21st Oct 2016, 3:39 PM
Ashwin Manoj
0
what is std
22nd Oct 2016, 10:28 AM
haidrali
0
It's a data type to represent floating point numbers with “double“ precision relative to float. Float uses 32 bit to represent numbers, double uses 64 bit. You might be interested in looking up their data ranges and how the numbers are represented in memory.
22nd Oct 2016, 2:20 PM
Detective_sunshine
- 2
double mobile=9876543210;
21st Oct 2016, 3:27 PM
Mridul Rai
Mridul Rai - avatar