Example#
{{ ratio | percent }}For WooCommerce discounts, {{ discount }} is the raw number and percent adds the display suffix:
{{ discount | percent }}Empty or non-numeric values render empty. They are not converted to 0%.
percent does not take an argument.