code: private String formatRate(Rate value)
     {
        String result = null;
        if (value != null)
        {
           StringBuilder buffer = new StringBuilder(m_formats.getCurrencyFormat().format(value.getAmount()));
           buffer.append("/");
           buffer.append(formatTimeUnit(value.getUnits()));
           result = buffer.toString();
        }
        return (result);
     }
docs: This method is called to format a rate.
  
  @param value rate value
  @return formatted rate