Bug 151381 [Smoke]The parameter didn't display in the web viewer
Description: Preview a parameter in the web viewer, it can't be previewed. Step to reproduce: 1. new a report and a parameter 2. drag it to the layout 3. preview it in the web viewer Actual result: the parameter is not displayed
core/org.eclipse.birt.core/src/org/eclipse/birt/core/data/DataTypeUtil.java
public static int toApiDataType( int odaDataTypeCode ) throws BirtException
	{
		Class odiTypeClass = toOdiTypeClass( odaDataTypeCode );
		return toApiDataType( odiTypeClass );
	}
	/**
	 * Convert object to a suitable type from its value 
	 * Object -> Integer -> Double -> BigDecimal -> Date -> String
	 */
	public static Object toAutoValue( Object evaValue )
	{
		if ( evaValue == null )
			return null;
		Object value = null;
		if ( evaValue instanceof String )
		{
			
			String stringValue = (String) evaValue;
			value = toIntegerValue( evaValue );
			if ( value == null )
			{
				try
				{
					
					value = Double.valueOf( stringValue );
				}
				catch ( NumberFormatException e1 )
				{
					try
					{