Code:
Dim oNum
oNum=4.5
oDecNum=oNum- int(oNum)
oDeccpart=.5
If oDecNum > oDeccpart then
oNum=int(oNum)
msgbox oNum
else
oNum=int(oNum)+1
msgbox oNum
end ifPlease check the above code.
|
how to get mantissa and decimal part
|
|
« Next Oldest | Next Newest »
|
| Messages In This Thread |
|
how to get mantissa and decimal part - by Ishul - 03-25-2012, 12:18 PM
RE: how to get mantissa and decimal part - by sshukla12 - 03-26-2012, 12:00 PM
RE: how to get mantissa and decimal part - by swathi - 03-28-2012, 03:18 AM
RE: how to get mantissa and decimal part - by Surya - 03-28-2012, 10:40 PM
|
| Possibly Related Threads… | |||||
| Thread | Author | Replies | Views | Last Post | |
| How to extract part of a string between two particular characters. | ACCBAJPA | 7 | 7,104 |
08-22-2013, 02:39 PM Last Post: ACCBAJPA |
|
|
|
Retrieve the complete height and width of a browser beyond the visible part as wel | learnQtptips | 0 | 2,376 |
05-22-2013, 09:36 AM Last Post: learnQtptips |
| Copying random length part of the string. | unbeliever | 5 | 5,863 |
01-07-2010, 02:55 PM Last Post: unbeliever |
|
| Trying to click on image which is a part of WebElement with Tag 'NOBR' | poona13 | 0 | 2,231 |
04-15-2008, 12:40 AM Last Post: poona13 |
|