[Sidefx-houdini-list] rounding off in expression

Jerry jerry at axyzfx.com
Tue Feb 10 17:33:14 EST 2009


I ran into this problem before and didn't really manage to find an answer.

I guess you could try multiplying your value by however many decimal
places of accuracy you need before
the values go into the if expression.



Robert D.M. Smith wrote:
> I have a group SOP that is filtering out points based on an expression ...
> something like *if($VAR > 90, 1, 0)*
>
> There is a point that has a value of 89.9889 but the expression is failing
> on it ... treating it like it's 90 or greater. Any ideas on how to give it
> more precision?
>
>   





More information about the Sidefx-houdini-list mailing list