conversion of integer to decimal

mkpjsr
mkpjsr 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

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

    int := ROUND(dec,1);

    :wink:
    Thomas Martin
    NAV Developer