Results 1 to 3 of 3

Thread: [RESOLVED] Round of numbers

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jun 2005
    Location
    in Poland
    Posts
    390

    Resolved [RESOLVED] Round of numbers

    Hi All

    I want to have the result in round figures. How to make an such the approximation.
    for example: if I have an number from 0,01 to 0,49 then let it round to 0,0 but if I have from 0,5 to 0,99 then let it round to 1,0. Similarly if I have from 1,01 to 1,49 then let it round to 1,0. etc, etc. Hope that I tell this sufficiently comprehensibly for all.
    Prob is such here, that all my tests didn't change anything, it rounds off still e.g: 1,49 to 1,5 etc, etc.

    How to make it correctly.

    Thanks in advance
    I know, I know, my English is bad, sorry .....

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Round of numbers

    Post what you have tried so far.

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Jun 2005
    Location
    in Poland
    Posts
    390

    Re: Round of numbers

    Me Again

    Thanks, very thank for all
    Ok, my prob already is solved, I found the solution on this Forum
    I give link here:

    http://www.vbforums.com/showthread.p...ight=textboxes
    I know, I know, my English is bad, sorry .....

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