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
10
Medium Priority
?
142 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
[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
  • Learn & ask questions
  • 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

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…
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…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Suggested Courses

610 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