Incorrect rounding of amount

Hi everyone,

I got this error when I’m displaying

the result of

TmpInventTransMark.costPrice() * TmpInventTransMark.qtyMarkNow

what could be the remedy for this

Hi Ian,

Use standard AX functions ‘any2real’, ‘any2int’ etc based on the data type.