What's the main difference between double and float type ?
See the first lecture :
// Single precision floating point number (Please DO NOT USE it !)
float x {3.1415927};
// Double precision floating point number
double y {3.141592653589793};
Don't forget that it's strongly recommended to use double as default type when manipulating floating point numbers ...