[Question] Numberformatting

rob1221

  • *
  • Posts: 9459
As I mentioned you'll have to convert to text for displaying.  Use the part of text block starting at 0 and ending at 5 I think.  That will change depending on where your decimal is.

Exportforce

  • *
  • Posts: 90
I found a way. I used a manual codeblock with "Math.fround(_VARIABLE)" that works very well :)

Exportforce

  • *
  • Posts: 90
Well... I guess floor and ceil also make a number to int ? Is there an alternative to round to like Math.fround for ceil and floor ?


Exportforce

  • *
  • Posts: 90
Okay, that is already just too obvious. Thanks!
Are there any other functions that make integer out of my numbers except round, floor, ceil ?


rob1221

  • *
  • Posts: 9459
There could be, but I don't have any in mind right now.