I’m having the exact same problem — did you ever find a solution?
I added the code to the functions.php file, but it returned a 0.00 in the upper left corner of the page. I’m not sure where/how to add this code so that it will format the custom field output where ever it is used on the entire site.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users