You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by Jason <zh...@chances.com.cn> on 2008/07/15 12:20:13 UTC

output float

My variable is int, but when output through velocity, it changed to float.
Very strange.

Such as 24 changed to 24.0

How output 24   ?

 

Jason

 

 


Re: output float

Posted by Nathan Bubna <nb...@gmail.com>.
Might we see the revelant snippet(s) of your template and/or context
construction?

On Tue, Jul 15, 2008 at 3:20 AM, Jason <zh...@chances.com.cn> wrote:
> My variable is int, but when output through velocity, it changed to float.
> Very strange.
>
> Such as 24 changed to 24.0
>
> How output 24   ?
>
>
>
> Jason
>
>
>
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org