The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Truncate a float field to two decimal places.

Marcelo Montaño Sánchez
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
October 13, 2020

Hi.


I have an insight object with a float field.
Currently the field shows values like the following:
1235.2136666666


How can I limit the number of decimal places to two decimal places?
And how to add a suffix to the beginning of the number?
Insight allows adding a suffix but at the end (1235.2136666666 $).
The desired number should be: $ 1234.21

Thank you.

0 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

TAGS
AUG Leaders

Atlassian Community Events