1
Discussion | Обсуждение / Strip trailing zeros from a number
« on: March 18, 2024, 06:43:10 pm »
Hello,
Thank you for creating LimeReport, it is very useful.
I was wondering if it is possible to format a number to a certain precision, but also strip the trailing zeros.
Examples with a precision of 4:
Thanks
Thank you for creating LimeReport, it is very useful.
I was wondering if it is possible to format a number to a certain precision, but also strip the trailing zeros.
Examples with a precision of 4:
- 1.0000 -> 1
- 1.0001 -> 1.0001
- 1.0100 -> 1.01
- 1.00001 -> 1
Thanks