nw::ut::DivUp Function

Syntax

int DivUp(
     int x,
     int y
);

Arguments

Name Description
in x Number to be divided.
in y Number to divide by (divisor).

Return Values

Returns the value that results from rounding up the quotient of x and y.

Description

Divides x by y and rounds up.


CONFIDENTIAL