Solved

numerical value function

Posted on 1999-01-23
10
136 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
Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

 
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
 
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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
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…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

813 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

18 Experts available now in Live!

Get 1:1 Help Now