toInt

fun toInt(): Int

Converts the priority into a Int