check if a character is a desirable percentage value

check_character_percent(x, name = "x")

Arguments

x

character

name

name to call x if there is an error

Value

percentage that x represents