Hi,
use this:
 
decround(4.321 ,2)  --> 4.32
decround(123.456 ,2 --> 123.46
 
Otto

-----Urspr�ngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 27. Januar 2004 11:46
An: [EMAIL PROTECTED]
Betreff: [development-axapta] Rounding

Hi,
 
I would like to round a real value to its nearest 2 decimal places. For example 123.456 -> 123.46 and 4.321 -> 4.32.  Is there any functions available in axapta to do this? I've tried the roundZeroDec function but all it does is round down if the value is > 0 and vice versa.
 
TIA,
Charles


Yahoo! Groups Links



Yahoo! Groups Links

Reply via email to