I have found pretty interesting thing Using java+spring+freemarker
From java controller I pass '-1' as Integer value. From time to time in freemarker template after ${value} I am getting '1-' instead of '-1' This happens randomly from time to time.
Any ideas why this happens? Freemarker bug?
尝试使用${value?c}
将数字格式化为计算机可读的数字。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.