Results 1 to 3 of 3
  1. #1
    Gold Lounger
    Join Date
    Jan 2004
    Location
    Italy
    Posts
    3,245
    Thanks
    0
    Thanked 0 Times in 0 Posts

    arrotonda per eccesso (2000 sr -1)

    PAG_TOT = TOT_SOP_CHIUSI / 8
    i have this string in VBA

    TOT_SOP_CHIUSI=30

    i want to arround for eccess the value of PAG_TOT (i dont know in english)
    In effect i have 3,75 but i want 4

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: arrotonda per eccesso (2000 sr -1)

    Try
    <code>
    PAG_TOT = -Int(-TOT_SOP_CHIUSI / 8)</code>

  3. #3
    Gold Lounger
    Join Date
    Jan 2004
    Location
    Italy
    Posts
    3,245
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: arrotonda per eccesso (2000 sr -1)

    <img src=/S/artist.gif border=0 alt=artist width=34 height=29> perfect!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •