|
-
Feb 22nd, 2007, 01:30 PM
#1
Thread Starter
Hyperactive Member
[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 .....
-
Feb 22nd, 2007, 01:39 PM
#2
Re: Round of numbers
Post what you have tried so far.
-
Feb 22nd, 2007, 02:02 PM
#3
Thread Starter
Hyperactive Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|