×

Format Number

iOS 14 +

Notes

Formats a number to the given decimal places.

Syntax

formatNumber(number: <#Integer or Variable#>, places: <#Integer or Variable#>)

Example

formatNumber(number: 10023.3323, places: 2)