Link to home
Start Free TrialLog in
Avatar of koger
koger

asked on

numerical value function

Hi i know this function exists, how to get the  numerical
value from a integer

   if I < 0 then
      NumVal := I*-1;

isn't there some thing like NumVal := XXX(I);
Avatar of Madshi
Madshi

Do you mean abs(I) or pred(I)?

Regards, Madshi.
Avatar of kretzschmar
Hi Koger

NumVal := ABS(I); will do it (as Madshi commented, but why Pred?)

meikl

I was not sure what koger meant. "Numeric value" sounded like ABS. "I*-1" sounded like PRED...  :-)
He needs asbolute value so Madshi answer the q'n :))
i agree with viktornet

meikl
ASKER CERTIFIED SOLUTION
Avatar of Madshi
Madshi

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Yup, it will... just a few more and you will be at No.1
I need only 4641 more 5 point questions with an A grading...  :-)
oh yeah, that will do it :-)
Avatar of koger

ASKER

Here's your way to the top