How to display the percentage of the applied tax in woocommerce [closed]

The quick and dirty solution in your case is:

round( reset( WC_Tax::get_rates() )['rate'] )

This will return “24”. So this will allow you to do what you want (announce the single shop-wide tax rate), but won’t work correctly if your tax settings become more complicated than using just one tax class.