You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@vxquery.apache.org by "Preston Carman (JIRA)" <ji...@apache.org> on 2012/08/17 22:58:37 UTC
[jira] [Resolved] (VXQUERY-47) Casting to Float with Small Values
[ https://issues.apache.org/jira/browse/VXQUERY-47?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Preston Carman resolved VXQUERY-47.
-----------------------------------
Resolution: Fixed
The latest update for double and float printing has resolved this issue.
> Casting to Float with Small Values
> ----------------------------------
>
> Key: VXQUERY-47
> URL: https://issues.apache.org/jira/browse/VXQUERY-47
> Project: VXQuery
> Issue Type: Bug
> Reporter: Preston Carman
> Assignee: Preston Carman
>
> The cast functionality for changing a string into a small float does not produce the same value. The string conversion is corrupted when the value is maller than 0.001.
> Example query:
> xs:untypedAtomic("1e-5") cast as xs:float
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira