when is it necessary to force expr~ to consider a number as a float by
using a decimal?
If you divide an integer by another integer, it will only output an integer, so you need to add the decimal in that case.
i think it only matters for division, as addition subtraction and multiplication of integers only ever yield integer results anyway.
i use this for triangles:
expr~ abs($v1*2-1)*2-1