conversion of integer to decimal

mkpjsrmkpjsr Member Posts: 587
how to store decimal value into an integer column during posting of 57(5) ac challan .


Is there any type casting method

Comments

  • pawanppawanp Member Posts: 90
    you can use
    EVALUATE(integer,FORMAT(ROUND(decimal,1)));
  • thmartinthmartin Member Posts: 90
    Or a bit shorter:

    int := ROUND(dec,1);

    :wink:
    Thomas Martin
    NAV Developer
Sign In or Register to comment.