round to the penny works in jsfiddle but not here

I must not be passing the function properly?