Solved

numerical value function

Posted on 1999-01-23
10
134 Views
Last Modified: 2010-04-06
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);
0
Comment
Question by:koger
  • 4
  • 3
  • 2
  • +1
10 Comments
 
LVL 20

Expert Comment

by:Madshi
ID: 1362976
Do you mean abs(I) or pred(I)?

Regards, Madshi.
0
 
LVL 27

Expert Comment

by:kretzschmar
ID: 1362977
Hi Koger

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

meikl

0
 
LVL 20

Expert Comment

by:Madshi
ID: 1362978
I was not sure what koger meant. "Numeric value" sounded like ABS. "I*-1" sounded like PRED...  :-)
0
 
LVL 10

Expert Comment

by:viktornet
ID: 1362979
He needs asbolute value so Madshi answer the q'n :))
0
 
LVL 27

Expert Comment

by:kretzschmar
ID: 1362980
i agree with viktornet

meikl
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 20

Accepted Solution

by:
Madshi earned 0 total points
ID: 1362981
Ok, ok... I will take those 5 points. That will almost boost me up to No. 1...  :-)))
0
 
LVL 10

Expert Comment

by:viktornet
ID: 1362982
Yup, it will... just a few more and you will be at No.1
0
 
LVL 20

Expert Comment

by:Madshi
ID: 1362983
I need only 4641 more 5 point questions with an A grading...  :-)
0
 
LVL 10

Expert Comment

by:viktornet
ID: 1362984
oh yeah, that will do it :-)
0
 

Author Comment

by:koger
ID: 1362985
Here's your way to the top
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

912 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now