Wise ones,
Is there a way to prevent UDOWrite converting large numbers into scientific format?
For example:
PROGRAM temp
$INCLUDE UNIVERSE.INCLUDE UDO.H
Value = 1234567890.123
Ok = UDOCreate(UDO_OBJECT,hObject)
Ok = UDOSetProperty(hObject,'large', Value)
Ok = UDOWrite(hObject, UDOFORMAT_JSON, JSON)
Crt JSON
STOP
{
"large": 1.234568e+09
}
I can't make it a string as that will fail the JSON schema validation.
Integral numbers are not affected by this so I could INT() it, but that's not really a solution.
Thanks