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

Re: [amibroker] Function INT



PureBytes Links

Trading Reference Links


Hi Peter
 
Thank you very much.
That is exactly what I was looking 
for.
 
Bernard Bourée<A 
href="">bbouree@xxxx
<BLOCKQUOTE 
>
----- Original Message ----- 
<DIV 
>From: 
<A title=pcarr@xxxx 
href="">Peter Carr 
To: <A title=amibroker@xxxxxxxxxx 
href="">amibroker@xxxxxxxxxxxxxxx 
Sent: Monday, May 28, 2001 9:24 PM
Subject: Re: [amibroker] Function 
INT
Hi Bernard,On Sun, 27 May 2001 at 13:17:37, <A 
href="">bbouree@xxxxwrote 
about [amibroker] Function INT:>In a commentary I would like to print 
an integer value (ex 0 or 1)  but I>alwas have 1.000 printed even 
if I use the INT function.  Someone have an>idea ?I use 
the WriteVal function and adjust the second parameter to achievethe 
integer or number of decimal places that's 
needed.        WriteVal( close, 1.1 
) produces one decimal place (Eg 
206.4)        WriteVal( close, 1.0) 
will produce the integer value (Eg 
206)        WriteVal( close ) will 
produce the full value (Eg 206.497)Hope this helps.Peter-- 
======================================================================Peter 
CarrEmail: 
pcarr@xxxx                   
ICQ: 
22586379======================================================================Your 
use of Yahoo! Groups is subject to the <A 
href="">Yahoo! Terms of Service.