I have trouble with the percent of number as following.
and find the way to limit the number of digit.
Iām thinking to format using javascript ,but
Are there any way to round the number in Leaf?
@thammaporn I recommend you do the formatting in Swift and pass the formatted number to your Leaf file. Or you could write a custom tag if you have to do it in lots of places etc
1 Like
@0xtim Thanks for your advice.
Custom tag is the good solution.