Default implementation: return the raw price, as provided by the pricing configuration parameter (i.e. a number or a string).
A function that formats a price when its shown to an end user. This is notably used in the tooltip you see when you hover over a seat.
This function is executed in the context of your page, meaning you can use a library like accounting.js in your implementation.
The result of this function will be escaped. This means you can't use html entities or codes (respectively
$ for $).
This might now work if you're not encoding your page as UTF-8. In that case, you should be able to use the unicode value (e.g.
\u0024 for $)
Note that the result of this function will be escaped, meaning you can't use html entities such as