Float, double, int

Hey, I am new to arduino, I want to store 0.002 as float but when I serial print it, it only shows 0.00 which will mess up the whole code. What should I do?

Thanks

double yes = 0.022;
void setup() {
  // put your setup code here, to run once:

}

void loop() {
  // put your main code here, to run repeatedly:
Serial.println(yes);
}
Serial.println(yes, 3);

By default Serial.print prints 2 decimal places, if you want more you have to tell it. That doesn't change your variable though, it's still 0.022.