Rem                                                                                                          Function

 

REM(a as double, b as double)

 

Description

Returns a float with the remainder of one number divided by another.

 

Example

Dim a as double

Dim b as double

Dim x as double

X=rem(a, b) 'if a was 2.457 and b was 2 then x would be .457