Bug 130688 ULocal unsupported(Data)
core/org.eclipse.birt.core/src/org/eclipse/birt/core/data/DataTypeUtil.java
}
		else if ( source instanceof Double )
		{
			int intValue = ( (Double) source ).intValue( );
			return new Integer( intValue );
		}
		else if ( source instanceof String )
		{
			try
			{
				return Integer.valueOf( (String) source );
			}
			catch ( NumberFormatException e )
			{
				throw new BirtException( pluginId, ResourceConstants.CONVERT_FAILS,
						new Object[]{
						source.toString( ), "Integer"
				}, resourceBundle );
			}
		}
		else
		{
			throw new BirtException( pluginId,
					ResourceConstants.CONVERT_FAILS,
					new Object[]{
							source.toString( ), "Integer"
					},
					resourceBundle );
		}
	}