fix for BCD in JSON

This commit is contained in:
john30
2016-05-15 17:38:32 +02:00
parent a1a2eca85f
commit 13cf5b2d23
+1
View File
@@ -1173,6 +1173,7 @@ result_t NumberDataField::readSymbols(SymbolString& input, const unsigned char b
if (outputFormat & OF_JSON) {
output << '"';
output << setw(m_length * 2) << setfill('0');
output << static_cast<int>(signedValue) << setw(0);
output << '"';
return RESULT_OK;
}