(int) a / b

Prev Next

This function divides a with b and returns the result as Integer value.

Parameters

Parameter

Description

a

Value

b

Value

Examples

Parameter a

Parameter b

Result

1

2

0

1.5

1.5

1

3

2

1