<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %><%@ taglib uri="http://java.sun.com/jstl/core-rt" prefix="c-rt" %><%@ taglib uri="http://java.sun.com/jstl/fmt" prefix="fmt" %>
<html>
<head>
<title>Format Date</title>
</head>
<body>
<fmt:formatNumber type="number" maxFractionDigits="3" value="123456789.123456789" />
<br><br>
<fmt:formatNumber type="number" maxFractionDigits="3" value="9.123456789" />
<br><br>
<fmt:formatNumber type="number" maxFractionDigits="3" value="89.1" />
</body>
</html>
|