Skip to main content
This method has moved and is now part of the JavaScript SDK — refer to the Smile.formatPoints() reference for current documentation. The method now requires points settings to be preloaded: call Smile.preload() with pointsSettings before formatting points.
This method formats a given amount of points for presentational purposes using the loyalty program’s points currency name/label and localization preferences.

Parameters

integer
required
An integer representing the amount of points to format.
object

Returns

This method returns a String.