• Post Reply Bookmark Topic Watch Topic
  • New Topic

need help  RSS feed

 
Naresh Saw
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all

I have a variable set like this

<c:set var="i" value="5.6" />

How can I round it?
I want output : 6.0

What is the way?
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66157
146
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
First, read this. "need help" is a really poor subject for your question.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!