You can use the Java math for sure: https://docs.oracle.com/javase/8/docs/api/java/lang/Math.html
Example: var value = java.lang.Math.abs( v ); Best Regards, Luca Garulli Founder & CEO OrientDB LTD <http://orientdb.com/> On 11 July 2016 at 14:09, Tore <[email protected]> wrote: > Trying to utilize math....() in a function (javascript). > If this can be done, is there a way to use a function in a query? > e.g. select math.asinh(XXX) as yyy from ... > > -- > > --- > You received this message because you are subscribed to the Google Groups > "OrientDB" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- --- You received this message because you are subscribed to the Google Groups "OrientDB" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
