You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-user@axis.apache.org by Markus Knittig <ma...@myd0.de> on 2011/11/02 23:50:54 UTC
Precision of float decimals
Hello!
The precision of float decimals such as double seems to be only 6 decimal places
which is too low for the application I develop currently. Is there a way to
configure this?
Best regards,
Markus
---------------------------------------------------------------------
To unsubscribe, e-mail: c-user-unsubscribe@axis.apache.org
For additional commands, e-mail: c-user-help@axis.apache.org
Re: Precision of float decimals
Posted by Markus Knittig <ma...@myd0.de>.
Markus Knittig <ma...@...> writes:
> The precision of float decimals such as double seems to be only 6 decimal
> places which is too low for the application I develop currently. Is there a way
> to configure this?
OK, solved my problem. I use ADB to generate the skeleton. This generates
mapping code that maps double with "%f" as C format string.
The workaround is to replace these positions with a format string that has
a higher precision. Would be better if this was configurable though..
Best regards,
Markus
---------------------------------------------------------------------
To unsubscribe, e-mail: c-user-unsubscribe@axis.apache.org
For additional commands, e-mail: c-user-help@axis.apache.org