Calculates what percentage this number is of another number.
Example:
int value = 25; double percentage = value.percent(of: 100); // 25.0
double percent({required int of}) => (this / of) * 100;