Bug 190718 [Automation][Regression] decimal number was truncated incorrectly
steps to reproduce: - use the attached report design - preview, and check decimal number expected behavior: - e.g. 0.00000242 should be output as 0.00000242 actual behavior: - e.g. 0.00000242 was output as 0, note it did not happen in build 20070601
core/org.eclipse.birt.core/src/org/eclipse/birt/core/format/NumberFormatter.java
}
		if ( patternStr.equals( "Scientific" ) ) 
		{
			numberFormat = new DecimalFormat( "0.00E00", 
					new DecimalFormatSymbols( locale.toLocale( ) ) );
			return;
		}
		if ( patternStr.equals( "Standard" ) ) 
		{
			numberFormat = new DecimalFormat( "###,##0.00", 
					new DecimalFormatSymbols( locale.toLocale( ) ) );
			return;
		}
		numberFormat = new DecimalFormat( patternStr, new DecimalFormatSymbols(
				locale.toLocale( ) ) );
	}
	/**
	 * Parses the input string into a formatted date type.
	 * 
	 * @param number
	 *            the input string to parse
	 * @return the formatted date
	 * @throws ParseException
	 *             if the beginning of the specified string cannot be parsed.
	 */
	public Number parse( String number ) throws ParseException
	{
		return numberFormat.parse( number );
	}
}