How do I round off Numbers?
-
Does anyone know how to round off numbers like (Account -> Equity) as they spring from something like 56.8 to 59.345335 and I just can't find a way to keep them displaying in 2 decimal places like how real money should ideally be displayed.
I'm showing that info via the comment block but it's annoying how it can't be tamed
-
@djlaserman The comment block has been updated (2 days ago), you can now select the amount of decimal places, doesn't work with comment ugly so use the normal one.
-
@jstap We should suggest the admin to extent that feature to the 'comment (ugly)' block too.
-
@l-andorrà True, but I don,t use it any way

-
@jstap said in How do I round off Numbers?:
@l-andorrà True, but I don,t use it any way

Yeah, why would anybody use a block that has the word "ugly" in its name? :)))
By the way, maybe the right thing is to combine both blocks into one and have a selector to choose between ugly and beautiful way of printing the data. But since I made the beautiful version, I never used the ugly version and when I see people's projects, they are also using the beautiful version.
-
@fxdreema Maybe remove the ugly and add some more lines to the other?
-
I personally always use ugly cause placement on chart is simple.
-
I use ugly for debugging.
Anyone can help on how do I round off in the variables ? -
@fxdreema Please sir, add on
**"Once per day block" :
-Hours component format
-Reset option**"Time filter":
-At certain option, on component format would be great too (This is just to get a simplest way to put hours without a lot of inputs)**Average calculation
**Get digits without put blocks and informationThank you:)