Adaptive Server Enterprise, Adaptive Server Anywhere and IQ have different default precision and scale:
In Adaptive Server Enterprise the default is precision 18 scale 0.
In Adaptive Server Anywhere the default is precision 30 scale 6.
In IQ the default is precision 126 scale 38. Because these defaults are too large for TDS and for some client tools, you should always specify a precision and scale for IQ exact numeric types.