Fceil()

Fceil() rounds to the next whole number. To zero when negative, away from zero when positive.

Syntax: result = Fround( value as single )

Example:

  dim a as single
  a=100.5
  a = Fround(a)  ' result: 101.0
  a=-100.5
  a = Fround(a)  ' result: -100.0

See also: Floor(), Fround(), Fix(), Frac()