Custom Field Renderer - To do Simple Calculations

Try putting all the text in the “var text” defininition on one line.   I know it makes it ugly - but it is the only think I can see that is different than what I have done.