You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Stephan Coboos <cr...@gmx.net> on 2004/09/02 13:21:16 UTC
Converting string to float?
Hello,
I need to convert a string representation for example 2.50 or 2,50 to
float and back using CForms and the binding framework.
Form-Input:
2.50 or 2,50
Value in float value after convertion should be:
2.50
Value in float is:
2.50
Output in the form after converion should be:
2,50
Which convertor pattern should I use in the form definition and the
binding definition on the other hand?
Thank you a lot!
Regards
Stephan
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org