Remove Decimal Place

Hi

I want to remove decimal places in decimal field.

for ex: 10.45 = 10, 10.55 = 10;

Please help me

Thanks

Shyam Kumar N

Shyam,

Hi! Use ROUND assuming you are looking for C/side code solution. Tells you all about this syntax in C/Side Reference Guide from Help off main menus.

Neil

Hi Shyamkumar,

If you want in C/AL code then use ROUND function . In report you can use in text-box property —>Number—>In category select Number-----> Use decimal places…If decimal places set to zero then it will not take decimal places

Regards,

Santosh

Hi Shyamkumar,

If you want in C/AL code then use ROUND function . In report you can use in text-box property —>Number—>In category select Number-----> Use decimal places…If decimal places set to zero then it will not take decimal places

Regards,

Santosh

How About

NewNumber := YourNumber MOD 1;