[ 
https://issues.apache.org/jira/browse/AXIS2-5851?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andreas Veithen resolved AXIS2-5851.
------------------------------------
    Resolution: Duplicate

> Exception in thread "main" java.lang.NumberFormatException: For input string: 
> "1000.0"
> --------------------------------------------------------------------------------------
>
>                 Key: AXIS2-5851
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5851
>             Project: Axis2
>          Issue Type: Bug
>          Components: adb, databinding
>            Reporter: khalithbasha
>              Labels: adb, axis2, axis2_1.7.5, 
> convertToStandardDecimalNotation, databinding
>
> Exception in thread "main" java.lang.NumberFormatException: For input string: 
> "1000.0"
> I am facing the same issue in version 1.7.5. Kindly help me on the same..
>   public void setEMPL_RCDTypeDef(int param) {
>             java.lang.String totalDigitsDecimal = 
> org.apache.axis2.databinding.utils.ConverterUtil.convertToStandardDecimalNotation(
>                     "3").toPlainString();
>             if (org.apache.axis2.databinding.utils.ConverterUtil.compare(
>                         param, totalDigitsDecimal) < 0) {
>                 this.localEMPL_RCDTypeDef = param;
>             } else {
>                 throw new java.lang.RuntimeException(
>                     "Input values do not follow defined XSD restrictions");
>             }
>         }



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
For additional commands, e-mail: java-dev-h...@axis.apache.org

Reply via email to