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

Re: [amibroker] [DLL OT?] C++ equivalent



PureBytes Links

Trading Reference Links

Hello,

Round( x ) is floor( x + 0.5 ) in C/C++
y = Frac( x ) is 

double x, y, n;
y = modf( x, &n ); 

in C/C++

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message ----- 
From: "bluesinvestor" <investor@xxxx>
To: "Amibroker" <amibroker@xxxxxxxxxxxxxxx>
Sent: Thursday, April 18, 2002 7:41 PM
Subject: [amibroker] [DLL OT?] C++ equivalent


> Does anyone know the C++ equivalent of the following AFL functions:
> 
> ROUND
> FRAC
> 
> Thanks in advance,
> Peter
> 
> 
> 
> 
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 
> 
>