json xy digits

This commit is contained in:
James Cherry 2020-07-06 16:49:25 -07:00
parent 6d95ef44e5
commit 875778b25a
1 changed files with 2 additions and 2 deletions

View File

@ -2551,10 +2551,10 @@ ReportPath::reportPathJson(const Path *path,
network_->location(pin, x, y, exists);
if (exists) {
result += " \"x\": ";
stringPrint(tmp, "%.3f", x);
stringPrint(tmp, "%.6f", x);
result += tmp + ",\n";
result += " \"y\": ";
stringPrint(tmp, "%.3f", y);
stringPrint(tmp, "%.6f", y);
result += tmp + "\n";
}