mathematical operation

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • shweta123
    Recognized Expert Contributor
    • Nov 2006
    • 692

    #16
    Hi,

    I think there is no such function in VBScript . But you can write code for doing this. e.g.

    If no >11 and no <15 then
    no = 10
    else no >15 and no <19 then
    no = 20
    end if

    Comment

    • idsanjeev
      New Member
      • Oct 2007
      • 241

      #17
      Hi
      we have to chek last number becouse number is only rounded based on last number so how can chek condition for last number

      Comment

      • idsanjeev
        New Member
        • Oct 2007
        • 241

        #18
        hi
        Happy new year to all
        for round the number
        Code:
        rounded=10 * Round(value/ 10 )

        Comment

        Working...