the following number gets displayed correctly:999,999,999,999,995
this is where the rounding starts: 999,999,999,999,996 becomes 1,000,000,000,000,000
99,999,999,999,999,999 (17 digits) will be rounded
999,999,999,999,999,999 (18 digits) will be converted to scientific number
it doesn't seem to comply with the sql data types
int: (2,147,483,647)
bigint (9,223,372,036,854,775,807)
money (922,337,203,685,477.5808)
it would be interesting to understand the concept behind the rounding.