### Question:
RoundHelper { @Nonnull public static String getFormattedExp (final double dValue, @Nonnegative final int nScale, final Locale aLocale) { return getFormatted (dValue, nScale, EDecimalType.EXP, aLocale); } private  RoundHelper(); static double getRounded(final double dValue,
                                   @Nonnegative final int nScale,
                                   @Nonnull final RoundingMode eMode,
                                   @Nonnull final EDecimalType eType); static double getRoundedUpFix(final double dValue, @Nonnegative final int nScale); static double getRoundedUpFix2(final double dValue); static double getRoundedEvenExp(final double dValue, @Nonnegative final int nScale); static double getRoundedEvenExp2(final double dValue); @Nonnull static String getFormatted(final double dValue,
                                     @Nonnegative final int nScale,
                                     @Nonnull final EDecimalType eType,
                                     @Nonnull final Locale aLocale); @Nonnull static String getFormattedFix(final double dValue, @Nonnegative final int nScale, final Locale aLocale); @Nonnull static String getFormattedFix2(final double dValue, final Locale aLocale); @Nonnull static String getFormattedExp(final double dValue, @Nonnegative final int nScale, final Locale aLocale); @Nonnull static String getFormattedExp2(final double dValue, final Locale aLocale);  }### Answer:
@Test public void testGetFormattedExp () { assertEquals ("9E-1", RoundHelper.getFormattedExp (0.9, 0, Locale.US)); assertEquals ("1E0", RoundHelper.getFormattedExp (1.0, 0, Locale.US)); assertEquals ("1E0", RoundHelper.getFormattedExp (1.1, 0, Locale.US)); assertEquals ("1E0", RoundHelper.getFormattedExp (1.4, 0, Locale.US)); assertEquals ("1E0", RoundHelper.getFormattedExp (1.4999, 0, Locale.US)); assertEquals ("2E0", RoundHelper.getFormattedExp (1.5, 0, Locale.US)); assertEquals ("9.00E-1", RoundHelper.getFormattedExp2 (0.9, Locale.US)); assertEquals ("1.00E0", RoundHelper.getFormattedExp2 (1.0, Locale.US)); assertEquals ("1.10E0", RoundHelper.getFormattedExp2 (1.1, Locale.US)); assertEquals ("1.40E0", RoundHelper.getFormattedExp2 (1.4, Locale.US)); assertEquals ("1.50E0", RoundHelper.getFormattedExp2 (1.4999, Locale.US)); assertEquals ("1.50E0", RoundHelper.getFormattedExp2 (1.5, Locale.US)); }