Rem                                                                                                          Funktion

 

REM(a as double, b as double)

 

Beschreibung

Liefert eine Fließkommazahl mit dem Rest einer Ganzzahldivision (a/b) – Abs(a/b).

 

Beispiel

Dim a as double

Dim b as double

Dim x as double

X=rem(a, b) 'für a=2.457 und b=2 wird x=0.457 sein