Solved

numerical value function

Posted on 1999-01-23
10
133 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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Suggested Solutions

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…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

758 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

17 Experts available now in Live!

Get 1:1 Help Now