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);
kogerAsked:
Who is Participating?
 
MadshiConnect With a Mentor Commented:
Ok, ok... I will take those 5 points. That will almost boost me up to No. 1...  :-)))
0
 
MadshiCommented:
Do you mean abs(I) or pred(I)?

Regards, Madshi.
0
 
kretzschmarCommented:
Hi Koger

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

meikl

0
Cloud Class® Course: Microsoft Windows 7 Basic

This introductory course to Windows 7 environment will teach you about working with the Windows operating system. You will learn about basic functions including start menu; the desktop; managing files, folders, and libraries.

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

meikl
0
 
viktornetCommented:
Yup, it will... just a few more and you will be at No.1
0
 
MadshiCommented:
I need only 4641 more 5 point questions with an A grading...  :-)
0
 
viktornetCommented:
oh yeah, that will do it :-)
0
 
kogerAuthor Commented:
Here's your way to the top
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.