forked from bblanchon/ArduinoJson
Fixed incorrect rounding for float values (fixes #588)
This commit is contained in:
@ -113,4 +113,8 @@ TEST_CASE("JsonWriter::writeFloat(float)") {
|
||||
SECTION("999.9") { // issue #543
|
||||
check<float>(999.9f, "999.9");
|
||||
}
|
||||
|
||||
SECTION("24.3") { // # issue #588
|
||||
check<float>(24.3f, "24.3");
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user