Bug 190727 [regression]Default value issue when switch report parameter from textbox to listbox.[0705]
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/ParameterDialog.java
}
				pattern = formatCategroy;
			}
			String type = getSelectedDataType( );
			if ( DesignChoiceConstants.PARAM_TYPE_DATETIME.equals( type )
					|| DesignChoiceConstants.PARAM_TYPE_DATE.equals( type )
					|| DesignChoiceConstants.PARAM_TYPE_TIME.equals( type ) )
			{
				Date date = DataTypeUtil.toDate( string, ULocale.US );
				string = new DateFormatter( pattern ).format( date );
			}
			else if ( DesignChoiceConstants.PARAM_TYPE_FLOAT.equals( type ) )
			{
				string = new NumberFormatter( pattern ).format( DataTypeUtil.toDouble( string )
						.doubleValue( ) );
			}
			else if ( DesignChoiceConstants.PARAM_TYPE_DECIMAL.equals( type ) )
			{
				string = new NumberFormatter( pattern ).format( DataTypeUtil.toBigDecimal( string ) );
			}
			else if ( DesignChoiceConstants.PARAM_TYPE_STRING.equals( type ) )
			{
				string = new StringFormatter( pattern ).format( string );
			}
		}
		catch ( BirtException e )
		{
			
		}
		return string;