ios Nsformatter
NSFormatter.EncodeTo(NSCoder) Method (Foundation) | Microsoft Try this : func convertEngNumToPersianNum(num: String)->String{ //let number = NSNumber(value: Int(num)!) let format = NumberFormatter() NSFormatter.GetObjectValue(NSObject, String, NSString) Method. In this article. Definition; Applies to. Definition. Namespace: Foundation. Assembly: Microsoft. NSFormatter is intended for subclassing. A custom formatter can restrict the input and enhance the display of data in novel ways. For example, you could have a NSFormatter Class. 本文內容. Definition; Constructors; Properties; Methods [Foundation.Register("NSFormatter", true)] public class NSFormatter : Foundation. ...