Hi Guys. does anyone know how to add a percentage to a custom field if its a number?
So for example my code is;
<?php echo get_post_meta($post->ID, 'price', true) ?>
If the value of price is 100 and i want it to automatically add 20% so that the outcome is 120, how is this possible?