[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with TS 2000i tests



PureBytes Links

Trading Reference Links

This could help: Ceiling()

Returns the lowest integer greater than the specified (Num).
(Num) is a numeric expression to be used in the calculation.

Examples

Ceiling(4.5) returns a value of 5.
Ceiling(-1.72) returns a value of -1.


----- Original Message ----- 
From: "DH" <catapult@xxxxxxxxxxxxxxxxxx>
To: "Omega List" <omega-list@xxxxxxxxxx>
Sent: Thursday, April 08, 2004 1:06 PM
Subject: Re: Problem with TS 2000i tests


> > value4 = Int(Capital / close);
> 
> Try IntPortion instead of Int. From the EL manual....
> 
> INT
> Reserved for use with custom DLLs designed for EasyLanguage and
> ELKIT32.DLL.
> 
> IntPortion
> Returns the integer portion of the specified decimal number.
> Syntax: IntPortion(Num);
> Num: A numeric value or expression
> Usage: Value1 = IntPortion(4.125); {returns a 4}
> 
> -- 
>   Dennis
>