Bug 166946 [regression]Format is added behind integer value in parameter dialog.[0705]
Description: Format is added behind integer value in parameter dialog. Build number:2.2.0.v20061206 Steps to reproduce: 1. New a report parameter, integer type, text-box, default value is 3, click Change button to change format as Fixed. 2. Preview Expected result: Display 3.00 as display text in parameter dialog. Actual result: Display 3Fixed. Error log:N/A
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/impl/EngineTask.java
{
			assert parameter instanceof ParameterAttribute;
			return ( (ParameterAttribute) parameter ).getDisplayText( );
		}
		return null;
	}
	public void setParameterDisplayTexts( Map params )
	{
		Iterator iterator = params.entrySet( ).iterator( );
		while ( iterator.hasNext( ) )
		{
			Map.Entry entry = (Map.Entry) iterator.next( );
			String name = (String) entry.getKey( );
			String text = (String) entry.getValue( );
			setParameterDisplayText( name, text );
		}
	}
	
	public void setParameterDisplayText( String name, String displayText )
	{
		parameterChanged = true;
		Object parameter = inputValues.get( name );
		if ( parameter != null )
		{
			assert parameter instanceof ParameterAttribute;
			(( ParameterAttribute )parameter).setDisplayText( displayText );
		}
		else
		{
			inputValues.put( name, new ParameterAttribute( null, displayText ) );