Number Format with Pattern : Parse Number « JSTL « Java Tutorial






<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt" %>

<html>
<head>
<title>EL Expression Examples</title>
</head>
<body>
<h1>EL Expression Examples</h1>

<h2>Arithmetic Operators in Expressions</h2>
<fmt:formatNumber pattern="#####"> 123.123</fmt:formatNumber></body>
</html>
  Download:  JSTLNumberFormatWithPattern.zip( 1,021 k)







24.22.Parse Number
24.22.1.Parse Percentage
24.22.2.Parse Number
24.22.3.Parse Integer Only
24.22.4.Parse Currency
24.22.5.Number Format with Pattern