Step - math

math ยท category: Labels and paths

Evaluates an arithmetic expression; _ is the incoming value and other names are path labels or by() values (see the book page Math Expressions).

Forms

math(arg1: string)

Example

g.v(1).values("age").math("_ * 2").next()   // 58.0

See also