abandonded function forgot to delete last minute

I was trying to add function
lines 46 and 47 (removed)
-var num = rate;
-var n=num.toFixed(2);