fix for BCD in JSON
This commit is contained in:
@@ -1173,6 +1173,7 @@ result_t NumberDataField::readSymbols(SymbolString& input, const unsigned char b
|
|||||||
if (outputFormat & OF_JSON) {
|
if (outputFormat & OF_JSON) {
|
||||||
output << '"';
|
output << '"';
|
||||||
output << setw(m_length * 2) << setfill('0');
|
output << setw(m_length * 2) << setfill('0');
|
||||||
|
output << static_cast<int>(signedValue) << setw(0);
|
||||||
output << '"';
|
output << '"';
|
||||||
return RESULT_OK;
|
return RESULT_OK;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user