like expr, but with floats (just a perl expression)