Hi, if your rating is an integer variable, the method avg() will return an integer value. So either you change the type of the variable, or use this query select AVG(rating.asFloat()) from Ratings
Alessandro > -- --- 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.
