Re: [Axapta-Knowledge-Village] X++ Strange Rounding (AX 4.0)

2009-01-15 Thread MaryAnn Hand
Perhaps you meant num2str instead of str2num since there are 5 parameters in your email. If parameters are 5,0,0,0 after the number, then you are saying that the result will have 5 characters, zero decimals, and no separators (either for decimal or for thousands). The str2num function has only

[Axapta-Knowledge-Village] X++ Strange Rounding (AX 4.0)

2009-01-14 Thread franklin_m85
Hi all, I'm new in AX, moving in from Java. Basically I was investigating bugs in some multiplication operations. I've encountered a strange problem lately working with real numbers. In the table browser and in the application the number was shown as -616.10, but when I converted it to string