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:
parent
9ce6dfbb63
commit
11f34c44ab
|
@ -174,7 +174,7 @@ public class SingleValueReplacePanel extends FramedPanel {
|
||||||
checked = in.toString();
|
checked = in.toString();
|
||||||
} else {
|
} else {
|
||||||
if (column.getDataTypeName().compareTo("Numeric") == 0) {
|
if (column.getDataTypeName().compareTo("Numeric") == 0) {
|
||||||
Float fl = new Float(rValue);
|
Double fl = new Double(rValue);
|
||||||
checked = fl.toString();
|
checked = fl.toString();
|
||||||
} else {
|
} else {
|
||||||
if (column.getDataTypeName().compareTo("Text") == 0) {
|
if (column.getDataTypeName().compareTo("Text") == 0) {
|
||||||
|
|
|
@ -368,7 +368,7 @@ public class ReplacePanel extends FramedPanel implements
|
||||||
checked = in.toString();
|
checked = in.toString();
|
||||||
} else {
|
} else {
|
||||||
if (column.getDataTypeName().compareTo("Numeric") == 0) {
|
if (column.getDataTypeName().compareTo("Numeric") == 0) {
|
||||||
Float fl = new Float(rValue);
|
Double fl = new Double(rValue);
|
||||||
checked = fl.toString();
|
checked = fl.toString();
|
||||||
} else {
|
} else {
|
||||||
if (column.getDataTypeName().compareTo("Text") == 0) {
|
if (column.getDataTypeName().compareTo("Text") == 0) {
|
||||||
|
|
Loading…
Reference in New Issue