Bug 214197 [Regression] Auto scale does not work correctly [13]
chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/computation/withaxes/AutoScale.java
}
					else
					{
						break;
					}
				}
				final int iMantissaCount = n - 1 - iDecimalPosition;
				final StringBuffer sb = new StringBuffer( sNumericPattern );
				sb.append( '.' );
				for ( int i = 0; i < iMantissaCount; i++ )
				{
					sb.append( '0' );
				}
				return sb.toString( );
			}
			else
			{
				return sNumericPattern;
			}
		}
		if ( dMinValue - (int) dMinValue == 0 
				
				&& dStep - (int) dStep == 0 )
		{
			return sNumericPattern;
		}
		final DecimalFormatSymbols dfs = new DecimalFormatSymbols( );
		final String sStep = oStep.toString( );
		final int iDecimalPosition = sStep.indexOf( dfs.getDecimalSeparator( ) );
		if ( iDecimalPosition >= 0 )