int Int;
float f;
String str;
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
Serial.println("ENTER A DECIMAL");
while(Serial.available()==0){}
f = Serial.parseFloat();
Serial.println("Entered float is: ");
Serial.println(f);
}
void loop() {
// put your main code here, to run repeatedly:
}