Double number isn't number with two digits after dot.
Float isn't a number that is floating anywhere.
For all your questions - simply try to google it("double" "double C++" "what is double" "what is namespace C++" etc.). You will find answers, most likely well-written.