+ 1
Can someone explain the double and bool
2 Answers
+ 2
'double' is short for 'double-precision floating-point'. As the name implies, 'double' will declare floating-point variable, like 'float', only with twice as many bytes and therefore twice the precision. This increased precision allows for more significant digits in the numbers your store.
'bool' is short for 'boolean'. A boolean value is either true or false. That's it.
0
Thanks