Hi,

thanks a lot !
Maybe one last question. Is there a way to reduce the displayed digits for
any values.
Something like writeval(anything, 1.2)
Unfortunately it doesn't work inside the loop.

Regards



2007/6/25, gp_sydney <[EMAIL PROTECTED]>:

  Double it in the format string:

printf("Percentage Gain = %1.2f%%", gain);

This would give output like:

Percentage Gain = 23.59%

GP

--- In [email protected] <amibroker%40yahoogroups.com>, "Trinolix
Derry" <[EMAIL PROTECTED]> wrote:
>
> Is there maybe any way to display the % letter ?
>
>
> Regards
> Thomas
>
>
>
> 2007/6/25, Trinolix Derry <[EMAIL PROTECTED]>:
> >
> > Hi,
> >
> > thanks a lot !
> > I see now that i missed the DateTimeToStr function.
> >
> > Regards
> >
> >
> >
> > 2007/6/25, gp_sydney <[EMAIL PROTECTED]>:
> > >
> > > Try something like this:
> > >
> > > dt = DateTime();
> > > for (i = 0; i < BarCount; i++)
> > > printf(DateTimeToStr(dt[i]));
> > >
> > > GP
> > >
> > > --- In [email protected] 
<amibroker%40yahoogroups.com><amibroker%40yahoog
roups.com>,
> > > "Trinolix Derry" <trinolix@> wrote:
> > > >
> > > > Hello,
> > > >
> > > > i would like to print the date through the printf function
inside my
> > > loop,
> > > > but wasn't successfully so far.
> > > > Can someone please tell me a solution ?
> > > >
> > > > Regards
> > > >
> > >
> > >
> > >
> >
> >
>






--
Regards

Reply via email to