InterviewSolution
Saved Bookmarks
| 1. |
How will you format a number upto 3 decimal places in VBScript? |
|
Answer» Using FormatNumber function, which would return an expression formatted as a number. Example − Dim num : num = -645.998651document.write(FormatNumber(num, 3))& "<br/>" '-645.999 |
|