Quantcast
Channel: Dynamics 365 Business Central/NAV User Group
Viewing all articles
Browse latest Browse all 11285

Forum Post: RE: overflow under conversion of Microsoft.Dynamics.Nav.Runtime.Decimal18 value 0.37381002500 to system.Int32

$
0
0
.. First Step.. Get a Coffee...;-) Depends what you want to do.. You may define OnesDec as Decimal .. Or if you need the Integer Value you may change Code to OnesDec := ROUND ((No*100) MOD 10, 1, '='); '=' rounds up or down to the nearest value (default). Values of 5 or greater are rounded up. Values less than 5 are rounded down. '>' rounds up '<' rounds down In your Example you should get a 0 as result

Viewing all articles
Browse latest Browse all 11285

Trending Articles