Updated Numeric to Double

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-column-widget@111865 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2015-02-10 16:52:21 +00:00
parent 9ce6dfbb63
commit 11f34c44ab
2 changed files with 2 additions and 2 deletions

View File

@ -174,7 +174,7 @@ public class SingleValueReplacePanel extends FramedPanel {
checked = in.toString();
} else {
if (column.getDataTypeName().compareTo("Numeric") == 0) {
Float fl = new Float(rValue);
Double fl = new Double(rValue);
checked = fl.toString();
} else {
if (column.getDataTypeName().compareTo("Text") == 0) {

View File

@ -368,7 +368,7 @@ public class ReplacePanel extends FramedPanel implements
checked = in.toString();
} else {
if (column.getDataTypeName().compareTo("Numeric") == 0) {
Float fl = new Float(rValue);
Double fl = new Double(rValue);
checked = fl.toString();
} else {
if (column.getDataTypeName().compareTo("Text") == 0) {