right.
It was rendering 1.9 (entered) as 1.8999, due to the translation of
double to BigDecimal and back again for the rounding. I've changed how
it does the rounding, but not the precision of the rounding, so that
the results should better reflect what was entered.
That make sense?
> <NumberRenderer.java>
I've changed how
it does the rounding, but not the precision of the rounding, so that
the results should better reflect what was entered.
That make sense?
Index:=20=
source/com/jsystemtrader/platform/optimizer/StrategyOptimizerRunner.java=0A=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A---=20=
I don't know how you got this result. Which tools and command did you use to
generate the patches?
J Ross Nicoll a écrit :
--
Florent,
Listen to my playlist on http://flyerenv.blogspot.com/
http://jrn.me.uk/jsystemtrader/20080625_browser.diff
http://jrn.me.uk/jsystemtrader/20080625_thread.diff
http://jrn.me.uk/jsystemtrader/20080626_double.diff
Do tell me if that works okay now?
All 3 patches has been applied into the SVN trunk.
Do you use SVN ?
--
Florent,