Bug 153374 Parse method in ReportParamterConverter convert float type to double type
Description: Parse method in ReportParamterConverter convert float type to double type Steps to reproduce: 1. use parse() to convert a string to float type String var1="3.5"; converter.parse( float1,IScalarParameterDefn.TYPE_FLOAT ); Expected result: parse method returns a Float instance Actual result: returned a Double instance despite that I&#12288;defined TYPE_FLOAT
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/ReportParameterConverter.java
}
	/**
	 * Convert report parameter from string into object.
	 * 
	 * @param reportParameterValue report parameter value in string.
	 * @param parameterValueType report parameter type.
	 * @return parameter value object.
	 */
	public Object parse( String reportParameterValue, int parameterValueType )
	{
		Object parameterValueObj = null;
		
		if ( reportParameterValue != null && locale != null )
		{
			switch ( parameterValueType )
			{
				case IScalarParameterDefn.TYPE_STRING:
				{
					StringFormatter sf = new StringFormatter( locale );
					
					if ( format != null )
					{
						sf.applyPattern( format );
					}
	
					try
					{
						parameterValueObj = sf.parser( reportParameterValue );
					}
					catch ( ParseException e )