mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-23 20:50:59 -05:00
On second thought, use the default formatting since its precision is sufficient
This commit is contained in:
@@ -101,7 +101,7 @@ namespace {
|
||||
return formatArrayAsLuaTable(it->get<nlohmann::json>());
|
||||
}
|
||||
if (it->is_number()) {
|
||||
return fmt::format("{:.16f}", it->get<double>());
|
||||
return fmt::format("{}", it->get<double>());
|
||||
}
|
||||
if (it->is_string()) {
|
||||
return formatLuaString(it->get<std::string>());
|
||||
|
||||
Reference in New Issue
Block a user