contents   index   previous   next



Clib.ldiv()

syntax:

Clib.ldiv(x, y)

where:

x - number to work with, numerator.

 

y - number to work with, denominator.

 

return:

object - a structure with the results of division in the following two properties:

 

.quot   quotient

.rem    remainder

description:

This method performs integer division and returns a quotient and remainder in an object, a structure. Since integers and long integers are the same in ScriptEase, Clib.div() is the same as Clib.ldiv(). The value returned is a structure with two elements or properties.

 

see:

Clib.div()

 

 


Clib.log()