This discussion is archived
7 Replies Latest reply: Dec 12, 2012 5:24 AM by venkat637 RSS

How to Ignore sign's in jsp?

venkat637 Newbie
Currently Being Moderated
Hi All,

I have doubt how to remove or ignore sign's for any integer values. like
i have -$ 104.60
i want $ 104.60 (either i should escape '-' sign or remove)

the above value getting from <c:set var="ky" value="${ky}" scope="request"></c:set>
whenever i display the above var i expected value id $104.60.

any could you help on this

Thanks.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points