Format number in Struts 2 tag

前端 未结 6 1947
梦毁少年i
梦毁少年i 2021-02-01 23:28

I would like to format number displayed by tag in Struts 2. There is a double value. How can I do that? Sho

6条回答
  •  太阳男子
    2021-02-01 23:41

    The most quickiest and easiest way is to use tag.

    Example:

    
    

    More about tag here https://struts.apache.org/maven/struts2-core/apidocs/org/apache/struts2/components/Number.html

提交回复
热议问题