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);
}