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
{
		log.log( Level.FINE, "EngineTask.setLocale: locale={0}",
				locale == null? null : locale.getDisplayName());
		doSetLocale(locale);
	}
	
	private void doSetLocale( Locale locale )
	{
		this.locale = locale;
		executionContext.setLocale( locale );
		EngineException.setULocale( ULocale.forLocale( locale ) );
	}
	
	/**
	 * sets the task locale
	 * 
	 * @param locale
	 *            the task locale
	 */
	public void setLocale( ULocale uLocale )
	{
		log.log( Level.FINE, "EngineTask.setLocale: uLocale={0}",
				uLocale == null? null : uLocale.getDisplayName());
		doSetLocale( uLocale.toLocale() );
	}
	/**
	 * sets the task context
	 * 
	 * @param context
	 *            the task context