### Question:
RoundHelper { @Nonnull public static String getFormattedFix (final double dValue, @Nonnegative final int nScale, final Locale aLocale) { return getFormatted (dValue, nScale, EDecimalType.FIX, 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 testGetFormattedFix () { assertEquals ("1", RoundHelper.getFormattedFix (0.9, 0, Locale.US)); assertEquals ("1", RoundHelper.getFormattedFix (1.0, 0, Locale.US)); assertEquals ("1", RoundHelper.getFormattedFix (1.1, 0, Locale.US)); assertEquals ("1", RoundHelper.getFormattedFix (1.4, 0, Locale.US)); assertEquals ("1", RoundHelper.getFormattedFix (1.4999, 0, Locale.US)); assertEquals ("2", RoundHelper.getFormattedFix (1.5, 0, Locale.US)); assertEquals ("0.90", RoundHelper.getFormattedFix2 (0.9, Locale.US)); assertEquals ("0,90", RoundHelper.getFormattedFix2 (0.9, Locale.GERMANY)); assertEquals ("1.00", RoundHelper.getFormattedFix2 (1.0, Locale.US)); assertEquals ("1.10", RoundHelper.getFormattedFix2 (1.1, Locale.US)); assertEquals ("1.40", RoundHelper.getFormattedFix2 (1.4, Locale.US)); assertEquals ("1.50", RoundHelper.getFormattedFix2 (1.4999, Locale.US)); assertEquals ("1.50", RoundHelper.getFormattedFix2 (1.5, Locale.US)); assertEquals (Double.toString (Double.NaN), RoundHelper.getFormattedFix (Double.NaN, 0, Locale.US)); assertEquals (Double.toString (Double.POSITIVE_INFINITY), RoundHelper.getFormattedFix (Double.POSITIVE_INFINITY, 0, Locale.US)); assertEquals (Double.toString (Double.NEGATIVE_INFINITY), RoundHelper.getFormattedFix (Double.NEGATIVE_INFINITY, 0, Locale.US)); }