Since I have not found anything in the docs...
I'm using OMMNumeric#toBigDecimal() to read the values. Do I have to do anything regarding the new values or does that method already handle it? And if not what should I do?
New posts are disabled while we improve the user experience.
You can browse the site, or for urgent issues, raise a query at MyAccount.
Hi @reidemei
According to the Java documentation BigDecimal does not support NaN or infinite numbers.
So, if you do try to convert a OMMNumeric which contains a NaN or infinite number I would expect that an exception would be thrown.
If you are concerned about the above scenario, then you can check the Hint value with getHint() to check if the OMMNumeric contains NaN or Infinite value before attempting to convert to BigDecimal