I just realized that [expr] doesn’t deal with float arguments and %.
For example, [expr $f1%1.2] will output the same as [expr $f1%1].
I would call this a bug because [%] deals with float arguments but maybe
it’s an expected result ?
Example patch below.
— Pasted Max Patch, click to expand. —
Copy all of the following text. Then, in Max, select New From Clipboard.