I'm trying to display 35% of a number using the code below. It worked fine until the number reached over 1,000. Am I missing something simple? Thanks.
<?php $perc=($total * .35);
$perc=number_format($perc,"2",".","thousands_sep");
echo ("$$perc"); ?>