string(from:)
Returns a string containing the formatted value of the provided number object.
Declaration
func string(from number: NSNumber) -> String?Parameters
- number:
An Nsnumber object that is parsed to create the returned string object.
Return Value
A string containing the formatted value of number using the receiver’s current settings.