fix for previous commit
This commit is contained in:
@@ -788,7 +788,8 @@ result_t NumberDataType::readSymbols(SymbolString& input, const bool isMaster,
|
|||||||
signedValue = (int)value;
|
signedValue = (int)value;
|
||||||
}
|
}
|
||||||
if (m_divisor < 0) {
|
if (m_divisor < 0) {
|
||||||
output << setprecision(0) << static_cast<float>((float)signedValue * (float)(-m_divisor));
|
output << fixed << setprecision(0)
|
||||||
|
<< static_cast<float>((float)signedValue * (float)(-m_divisor));
|
||||||
} else if (m_divisor <= 1) {
|
} else if (m_divisor <= 1) {
|
||||||
if (hasFlag(FIX) && hasFlag(BCD)) {
|
if (hasFlag(FIX) && hasFlag(BCD)) {
|
||||||
if (outputFormat & OF_JSON) {
|
if (outputFormat & OF_JSON) {
|
||||||
|
|||||||
Reference in New Issue
Block a user