toDouble

Converts the priority into a double