My expression is :#age*10
And I assigned a value of 15.6 to age
The result of this is 156.0
In fact the final result I want to get is:156
I can do it in the code, but how to do it by modifying the expression.
thanks
My expression is :#age*10
And I assigned a value of 15.6 to age
The result of this is 156.0
In fact the final result I want to get is:156
I can do it in the code, but how to do it by modifying the expression.
thanks
Copyright © 2021 Jogjafile Inc.
You need to use
Integer.class
as shown below:Output: