intdiv: Integer divide

Description Usage Arguments Author(s) Examples

Description

Coerces dividend and divisor into integer prior to divide

Usage

1
intdiv(dividend, divisor)

Arguments

dividend

scalar or vector

divisor

scalar or vector

Author(s)

Arnab Chakraborty 2013

Examples

1
2
intdiv(5.6,-3.1)
intdiv(6.6,-3.1)

Example output

[1] -2
[1] -2

astrolibR documentation built on May 2, 2019, 3:26 a.m.