public static string LocalizedStringFromNumber(double number, NSNumberFormatterStyle style) { IntPtr handle = ObjC.ToNSNumber(number); string text = ObjC.MessageSendString(_classHandle, "localizedStringFromNumber:numberStyle:", handle, (int)style); ObjC.MessageSend(handle, "release"); return(text); }
public string StringFromNumber(double number) { IntPtr handle = ObjC.ToNSNumber(number); string text = ObjC.MessageSendString(Handle, "stringFromNumber:", handle); ObjC.MessageSend(handle, "release"); return(text); }