Web Analytics Made Easy -
StatCounter how to ROUND up? - CodingForum

Announcement

Collapse
No announcement yet.

how to ROUND up?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • how to ROUND up?

    hello,
    I'm using the Round function, but it seems to aways round to whatever it's closest too,, example,
    3.4 would round to 3,
    how can i have it round up?
    so that 3.4 would go to 4?

    thanks in advance for your time!
    -Ken

  • #2
    Use ceil().

    dumpfi
    "Failure is not an option. It comes bundled with the software."
    ....../)/)..(\__/).(\(\................../)_/)......
    .....(-.-).(='.'=).(-.-)................(o.O)...../<)
    ....(.).(.)("}_("}(.)(.)...............(.)_(.))¯/.
    ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
    Little did the bunnies suspect that one of them was a psychotic mass murderer with a 6 ft. axe.

    Comment


    • #3
      ah kool,
      thats what i needed, thanks!!

      -Ken

      Comment

      Working...
      X