JSTL Java Tutorial

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

  
    Parse Number
  
  
    
      
        
          
               Number Formatting
          
        

        
          Enter a number to be parsed:
          
            
          
        

        
          
            
              
              
            


          
        

      

      

 


    
    
      
        
          
             Formatting: 
          
        

        
          type="number"
          
            
              
              
            
            
          
        

        
          type="currency"
          
            
              
              
            
            
          
        

        
          type="percent"
          
            
                            value="${param.num}" />
              
            
            
          
        

        
          type="number" integerOnly="true"
          
            
                            type="number" value="${param.num}" />