rem()

Returns the remainder of the division of 2 numbers as a real number

Syntax
rem(x1, x2)

Name Description Range Type Default Required
x1 dividend (-∞, ∞) integer, real, complex   yes
x2 divisor (-∞, ∞) integer, real, complex 1 no

Examples

remV = rem(100, 2.3)
returns 1.1
remV = rem(1)
returns 1
remCV = rem(1+j*0.2, 10)
returns 1.02

See Also

fmod()

 

Privacy Statement  | Terms of Use  | Legal | Contact Us  | © Agilent 2000-2008 

Contents
Additional Resources