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
/**
	 * @param format format to format report parameter, or recover parameter value as object
	 * given a string as report parameter value
	 * @param locale the locale to format/parse the parameter value
	 */
	public ReportParameterConverter( String format, Locale locale )
	{
		this.format = format;
		this.locale = locale;
	}
	
	public ReportParameterConverter( String format, ULocale locale )
	{
		this(format, locale.toLocale( ));
	}
	/**
	 * Convert report parameter value object into string.
	 * 
	 * @param reportParameterObj report parameter value object.
	 * @return parameter value in string.
	 */
	public String format( Object reportParameterObj )
	{
		String reportParameterValue = null;
		
		if ( reportParameterObj != null && locale != null )
		{
			if ( reportParameterObj instanceof String )
			{
				StringFormatter sf = new StringFormatter( locale );