Fround()

Fround() rundet zur nächsten Ganzzahl weg von Richtung Null (kaufmännisches Runden).

Syntax: Ergebnis = Fround( value as single )

Beispiel:

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

Siehe auch: Floor(), Fceil(), Fix(), Frac()