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 illeagueE )
		{
			logger.log( Level.WARNING, illeagueE.getMessage( ), illeagueE );
		}
	}
	/**
	 * @param num
	 *            the number to be formatted
	 * @return the formatted string
	 */
	public String format( double num )
	{
		try
		{
			if ( Double.isNaN( num ) )
			{
				return "NaN"; 
			}
			if ( hexFlag == true )
			{
				return Long.toHexString( new Double( num ).longValue( ) );
			}
			
			if ( num == 0 )
			{
				num = 0;
			}
			return numberFormat.format( num );
		}