One more this why is this wierd, because when number is entered through textfield it is converted good with default Double convertor, but when it is converted from jsp link (as I give above) it add 0 to the end..
-- Milan Jeromy Evans - Blue Sky Minds wrote: > > Milan Milanovic wrote: >> Uf, bug again :-(((. >> >> Is there any custom type-converter for Double-s that doesn't have this >> error >> ? >> >> -- >> Milan >> > > A custom type-converter means you can write one yourself for that > specific property. It's very simple: > > http://struts.apache.org/2.0.11.2/docs/type-conversion.html > > Personally I never use Double in an action and instead opt for > BigDecimal to maintain precision correctly. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/-S2--Double-conversion-issue-tp19092842p19145493.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]