Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
Solved

# numerical value function

Posted on 1999-01-23
Medium Priority
142 Views
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
Question by:koger
[X]
###### Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

• Help others & share knowledge
• Earn cash & points
• 4
• 3
• 2
• +1

LVL 20

Expert Comment

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

0

LVL 27

Expert Comment

ID: 1362977
Hi Koger

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

meikl

0

LVL 20

Expert Comment

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

LVL 10

Expert Comment

ID: 1362979
0

LVL 27

Expert Comment

ID: 1362980
i agree with viktornet

meikl
0

LVL 20

Accepted Solution

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

LVL 10

Expert Comment

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

LVL 20

Expert Comment

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

LVL 10

Expert Comment

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

Author Comment

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

## Featured Post

Question has a verified solution.

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

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi projâ€¦