Suoranta.Finance Namespace
Suoranta.Finance - Developer API

ITimeScale..::..GetRatioTo Method

Divides this instance by [divisor]. Division is made in BaseUnit of the divisor. The remainder must be zero.

Namespace:  Suoranta.Finance
Assembly:  Suoranta.Finance (in Suoranta.Finance.dll)

Syntax


int GetRatioTo(
	ITimeScale divisor
)

Parameters

divisor
Type: Suoranta.Finance..::..ITimeScale
The divisor.

Return Value

The integer quotient. FinanceException is thrown if the remainder is non-zero.