Canonicalize numbers in stringified attributes so geobuf can match

This commit is contained in:
Eric Fischer
2017-08-29 17:40:57 -07:00
parent caac717b17
commit 15a48e67d6
3 changed files with 87 additions and 68 deletions
+2
View File
@@ -323,6 +323,8 @@ inline void WriteExponent(int K, std::string &buffer) {
if (K < 0) {
buffer.push_back('-');
K = -K;
} else {
buffer.push_back('+');
}
if (K >= 100) {