Using math function methods in NiFi
Hello NiFi Community,
I want to convert decimal degree coordinates (e.g. -45.123658) to radians, and I want to use the built-in NiFi math function to do so. However, simply following the simple example in the Expression Language documentation for math, the example fails. I keep getting an "unexpected token" error whenever trying to use toDouble or the math function itself. Anyone have any success with using the math function and any of the methods associated with it, particularly if they take a double as an argument?
Since the function is subjectless, I'm :
${math("toRadians", ${latitude:toDouble()})}
But I've also tried variations of:
${latitude:toDouble():math("toRadians", ${latitude})}${latitude:math("toRadians", ${latitude:toDouble()})}
I appreciate any insight.

