We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hardware: ?ESP-12? Core Version: ?2.1.0-rc2?
Problem description
Module: Adafruit HUZZAH ESP Flash Size: ?4MB/1MB? CPU Frequency: ?80Mhz? Flash Mode: ?qio? Flash Frequency: ?40Mhz? Upload Using: ?OTA / SERIAL? Reset Method: ?ck / nodemcu?
#include <Arduino.h> void setup() { Serial.begin(9600); while (!Serial); char *sci = "1.0e-7"; Serial.println (sci); Serial.println (1e7*atof(sci)); } void loop() { }
messages here
Output is:
1.0e-7 10000000.00
should be 1.0e7 1.00
The text was updated successfully, but these errors were encountered:
I also tried
Serial.println (strtod(sci,(char**)NULL));
but same result.
I forgot to mention, both tests also had #include <stdlib.h>
Sorry, something went wrong.
@pidloop is this issue still valid with latest git? still valid with #3215 ?
Arduino Board Manager says I am running ESP8266 Community version 2.3.0 and yes, this error report is still valid.
This works in git head, closing.
No branches or pull requests
Basic Infos
Hardware
Hardware: ?ESP-12?
Core Version: ?2.1.0-rc2?
Description
Problem description
Settings in IDE
Module: Adafruit HUZZAH ESP
Flash Size: ?4MB/1MB?
CPU Frequency: ?80Mhz?
Flash Mode: ?qio?
Flash Frequency: ?40Mhz?
Upload Using: ?OTA / SERIAL?
Reset Method: ?ck / nodemcu?
Sketch
Debug Messages
Output is:
1.0e-7
10000000.00
should be
1.0e7
1.00
The text was updated successfully, but these errors were encountered: