Solved

numerical value function

Posted on 1999-01-23
10
137 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
Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

 
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

840 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