Virtuino Forum

Full Version: Function Int in math script.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Good evening, 

Is there any way to get the integer value of a division in the math script?

Ex. int(5/2)=2
Hi,
the math script doesn't contain the "INT" function
You can use the floor(x) function to convert the positive double values  to int,
or the ceil(x) function for the negative values.
I can't add an Integer converter to the math script 
I have added (ver 0.0.16)  an integer converter to the script Min-Max-Avg...
you can use this script after the math script.

I have found some bugs in the math script. I have fix them now.
You have to update to the version 0.0.16

I'm trying for the best. It's not always that simple