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
}
		catch ( Exception e )
		{
			logger.log( Level.WARNING, e.getMessage( ), e ); 
			return null;
		}
	}
	public String format( Number number )
	{
		try
		{
			if ( Double.isNaN( number.doubleValue( ) ) )
			{
				return "NaN";
			}
			if ( hexFlag == true )
			{
				return Long.toHexString( number.longValue( ) );
			}
			
			if ( number instanceof Double || number instanceof Float )
			{
				return format( number.doubleValue( ) );
			}
			
			if ( this.formatPattern == null && number instanceof BigDecimal )
			{
				return decimalFormat.format( number );
			}
			return numberFormat.format( number );