0 Replies Latest reply: Aug 31, 2012 9:48 AM by 871637 RSS

    fmt:formatNumber produces negative zero

      if I write the following

      <fmt:formatNumber maxFractionDigits="1" var="${-0.04}" />

      the output is -0. This is annoying specially because I want to test the returned value against 0, but -0 is less than 0 (or so Jstl says)

      Did anyone come across this problem?