Results 1 to 4 of 4

Thread: Probably Easy - Negative numbers

  1. #1

    Thread Starter
    Lively Member
    Join Date
    May 2002
    Location
    Canada
    Posts
    75

    Probably Easy - Negative numbers

    I'm having a total mind stall here...

    what is the easiest number to force a whole number...what i mean is, if a number is negative it will drop the negative sign.

    If there is a relatively easy way to fix this, i'd love to find out.
    thanks

  2. #2
    Not NoteMe SLH's Avatar
    Join Date
    Mar 2002
    Location
    192.168.0.1 Preferred Animal: Penguin Reason for errors: Line#38
    Posts
    3,051
    VB Code:
    1. No = Abs(No)
    Quotes:
    "I am getting better then you guys.." NoteMe, on his leet english skills.
    "And I am going to meat her again later on tonight." NoteMe
    "I think you should change your name to QuoteMe" Shaggy Hiker, regarding NoteMe
    "my sweet lord jesus. I've decided never to have breast implants" Tom Gibbons
    Have I helped you? Please Rate my posts.


  3. #3
    Stiletto
    Guest
    Use the Abs function (Absulote)
    VB Code:
    1. Dim iNum as Integer
    2. iNum = -18
    3. iNum = Abs(iNum) 'Return 18

  4. #4
    Stiletto
    Guest
    Damn x-posting...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width