Easier way to change list of floats to list of ints?

ygreq's icon

Hey there!

Is there another easier way to change a list of floats to list of ints?

Max Patch
Copy patch and select New From Clipboard in Max.

Thank you!!

LSka's icon
Max Patch
Copy patch and select New From Clipboard in Max.

there you go:

pdelges's icon
Max Patch
Copy patch and select New From Clipboard in Max.

Here is one way:

Wetterberg's icon

yeah, definitely don't iter through the list - depending on what your patch is doing, iter is such a bottleneck, I find.

ygreq's icon

Thank you all for your solutions!!

Roman Thilenius's icon

vexpr int($f1) or vexpr $i1