Results 1 to 5 of 5

Thread: Round Number Function

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Aug 2002
    Posts
    224

    Round Number Function

    Hi,

    Round Number Function

    You can download a small example:
    Watch and copy examples of Source Code in VB.NET
    [email protected]
    http://www.geocities.com/yulyos4vbnet

    Have a nice day
    Last edited by yulyos; Nov 26th, 2004 at 03:21 AM.

  2. #2
    Addicted Member akki's Avatar
    Join Date
    Jun 2003
    Location
    Jungle
    Posts
    220

    Angry

    why are you reinventing this

    use Math.Round()

    FYI your function is not working for -ve number
    akki

  3. #3
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    I can't read Hebrew.
    Last edited by mendhak; Nov 29th, 2004 at 12:11 AM.

  4. #4

    Thread Starter
    Addicted Member
    Join Date
    Aug 2002
    Posts
    224
    Hi,

    To:
    "I can't read Hebrew"

    Look at:
    http://www.geocities.com/yulyos4vbnet/RoundNumber.html

    Have a nice day

  5. #5
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    Modify it. Make it round numbers to a decimal place that I specify.

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