Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- foreach ( $rates as $key => $rate ) {
- if ($rate['compound'] == 'yes')
- continue;
- if ($state == 'NY' && $price > 17500)
- $ny = $price-17500;
- $tax_amount = ( $ny * $rate['rate'] / 100 );
- else
- $tax_amount = ($price * $rate['rate'] / 100 );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement