float to integer
Hello all
a simple question : I try to transform a float in integer. I know I must use "expr" object, but I don't know how to give the right expression...
Any help welcome
Have a nice day
A
Hello
I found a solution
Hi,
you can simply connect a float number box to an integer one and the job is done...
R
like riccardo says, any other object in int mode can do that, too.
however in expr it would be [expr $i1]... which is the same as [i]...
and in case you want to trucate to float: [expr int($f1)]