this message in context:
http://www.nabble.com/-S2--Double-conversion-issue-tp19092842p19163084.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e
.
-
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-tp19092842p19163707.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]
--
View this message in context:
http://www.nabble.com/-S2--Double-conversion-issue-tp19092842p19144757.html
Sent from the Struts
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
-
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-tp19092842p19120558.html
Sent from the Struts - User mailing list archive at Nabble.com
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:
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
() method for prop I get: 12340.0 ! Zero is always added at
end of the number, does anyone know why this could happen ?
--
Regards, Milan
--
View this message in context:
http://www.nabble.com/-S2--Double-conversion-issue-tp19092842p19116746.html
Sent from the Struts - User mailing list
I've seen this reported previous as a bug in S2/Xwork (appending an
extra 0 character). I can't recall where I saw that.
Write a custom type-converter for that field to work-around it.
Milan Milanovic wrote:
This is some wierd Struts behaviour for Double conversion, e.g., if my prop
to delete it, in my action
class remove() method for prop I get: 12340.0 ! Zero is always added at
end of the number, does anyone know why this could happen ?
--
Regards, Milan
--
View this message in context:
http://www.nabble.com/-S2--Double-conversion-issue-tp19092842p19092842.html
Sent from
added at
end of the number, does anyone know why this could happen ?
--
Regards, Milan
--
View this message in context:
http://www.nabble.com/-S2--Double-conversion-issue-tp19092842p19093011.html
Sent from the Struts - User mailing list archive at Nabble.com
11 matches
Mail list logo