This method formats a given amount of points for presentational purposes using the loyalty program’s points currency name/label and localization preferences.
This method requires points settings to be preloaded before use. Call Smile.preload() with pointsSettings before calling this method, or — if you initialize the JavaScript SDK yourself — include pointsSettings in the preload array during initialization.