PureBytes Links
Trading Reference Links
|
This "might" help:
d
Hi Steve,
I picked up on by other examples. This
is the only reference I could find in the help file and it is in the
description for PRINTF.
Note 1: for numbers always use %f, %e or %g
formatting, %d or %x will not work because there are no integers in
AFL.
Maybe someone can help explain what each of these are and how to
use them.
Dave
-----Original Message----- From:
amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of
sslack88 Sent: Sunday, February 12, 2006 8:49 AM To:
amibroker@xxxxxxxxxxxxxxx Subject: [amibroker] Re: Values in Title String
(decimal place problem)
The %.2f fixed the problem. Thanks for
the help Dave! Do you know where in the help you can find %g, %.2f,
etc.? I want to understand the formatting better.
Thanks
Again, Steve
--- In amibroker@xxxxxxxxxxxxxxx, "Dave's Laptop"
<dlittner@xxx> wrote: > > Another thing to do is to
format that item in your title bar. > > Use %.2f (instead of %g
that you might be using) to force it to 2 positions > beyond the
decimal point and in this case it might round up from 1.59999 to >
1.60. > > Dave > > -----Original
Message----- > From: amibroker@xxxxxxxxxxxxxxx
[mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf > Of sslack88 >
Sent: Sunday, February 12, 2006 8:08 AM > To:
amibroker@xxxxxxxxxxxxxxx > Subject: [amibroker] Values in Title String
(decimal place problem) > > When I create a custom Title string
for a spread chart, the value > displayed in the Title is
incorrect. For example, the spread is - 1.60 > (the result of
201.60 - 203.20), however, when it appears in the Title > it shows
1.59999 > > Any ideas? > > FYI - when I run an
exploration, the values are correct > > > >
> > > Please note that this group is for discussion
between users only. > > To get support from AmiBroker please send
an e-mail directly to > SUPPORT {at} amibroker.com > > For
other support material please check also: > http://www.amibroker.com/support.html >
> > Yahoo! Groups
Links >
Please note that this group is
for discussion between users only.
To get support from AmiBroker please
send an e-mail directly to SUPPORT {at} amibroker.com
For other
support material please check also: http://www.amibroker.com/support.html
Yahoo!
Groups Links
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
For other support material please check also:
http://www.amibroker.com/support.html
SPONSORED LINKS
YAHOO! GROUPS LINKS
|