Thank you for taking some time to read this post and trying to help me out! I have this simple issue where I don’t want to show any decimals or digits after decimals. Or maybe we can show just two digits after a decimal. Unfortunately couldn’t find any simple solutions to this problem.

And so on
The value is multiplied by a multiple of 10, so you “save” a number of decimals equal to the number of 0’s this multiple of 10 has, then the other decimals are deleted by the truncate function “trunc()”, finally you divide by the same multiple of 10 to set the “saved” decimals after the floating point again.