ZscoreCommand: Contents
ZSCORE _key_ _element_ (Redis >
Return value

# ZscoreCommand

ï»¿#sidebar SortedSetCommandsSidebar

# ZSCORE _key_ _element_ (Redis >

1.1) = Time complexity O(1)

> Return the score of the specified element of the sorted set at key.If the specified element does not exist in the sorted set, or the keydoes not exist at all, a special 'nil' value is returned.

## Return value

Bulk reply

    the score (a double precision floating point number) represented as string.