TypeExpr typeExpr = valueEntryPanel.getValueNode().getTypeExpr();
PreludeTypeConstants typeConstants = valueEntryPanel.valueEditorManager.getPreludeTypeConstants();
if (typeExpr.sameType(typeConstants.getDoubleType()) ||
typeExpr.sameType(typeConstants.getFloatType()) ||
typeExpr.sameType(typeConstants.getDecimalType())) {
//todoBI Float and Double should have different validation to take into account their ranges
valid = isGoodDouble(text);