Can the float datatype use exponential notation for input, function calls, calculations and serial print output?
It seems to work OK for say 2.50e+6, but not for 2.50e-6.
???
Can the float datatype use exponential notation for input, function calls, calculations and serial print output?
It seems to work OK for say 2.50e+6, but not for 2.50e-6.
???
Please post a code example demonstrating the failure.
This works as expected:
void setup() {
Serial.begin(9600);
Serial.println(2.50e-6,7); //prints 0.0000025, as expected
}
void loop() {}