Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- For 100000, it should display 1 lakh,
- For 200000, it should display 2 lakhs,
- .......................
- For 10000000 it should display 1 Crore. I'm not able to get the exact condition how to enable it. Here is my code
- <select name="sumAssured" class="sumAssured" id="sumAssuredDktp" data-action="change:edit" data-actionLoc="offer:healthCover">
- <s:iterator value="%{#sumAssuredList}" var="sa" status="rowstatus">
- <fmt:formatNumber value="${sa/100000}" minFractionDigits="0" maxFractionDigits="1" var="saLakh"/>
- <option value="<s:property value="%{#sa}"/>" <s:if test="%{#sa == #sumAssured.toString()}"> selected="" </s:if> >
- ${saLakh} Lakh<c:if test="${saLakh > 1.0}">s</c:if>
- </option>
- </s:iterator>
- </select>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement