Evaluate Issue

srinivas.chittem
srinivas.chittem Member Posts: 142
Hai

I have two variables like below

1. code:='100' is a type CODE variable

2. amount:=1000 is decimal type


Now i want to add these two variables......I want result as 1100....

How to do this?

The result would be an decimal......

Please solve this problem.... ](*,)
Regards,
srinivas
"Delighting Customers.... Through Delivery Excellence" .

Comments

  • tinoruijs
    tinoruijs Member Posts: 1,226
    Something like this:

    if EVALUATE(ldecAmount, lcodAmount) then
    ldecDecAmount := ldecAmount + ldecOtherAmount;

    Tino Ruijs
    Microsoft Dynamics NAV specialist
  • srinivas.chittem
    srinivas.chittem Member Posts: 142
    Hai

    This is Issue Solved



    Than 'Q'

    sri
    Regards,
    srinivas
    "Delighting Customers.... Through Delivery Excellence" .
  • ssingla
    ssingla Member Posts: 2,973
    Mark Solved in the topic title.
    CA Sandeep Singla
    http://ssdynamics.co.in
  • tinoruijs
    tinoruijs Member Posts: 1,226
    Than 'Q'

    sri

    You're welcome (assuming you mean "Thank you" :) )
    And Solved in the title would be nice indeed.

    Tino Ruijs
    Microsoft Dynamics NAV specialist