The function return type is `long`, but you're returning a floating point value.