Platforms to show: All Mac Windows Linux Cross-Platform

Back to CFNumberMBS class.

CFNumberMBS.NewWithDouble(value as Double) as CFNumberMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreFoundation MBS MacCF Plugin 15.4 ✅ Yes ❌ No ❌ No ✅ Yes All
Creates a new CFNumberMBS with a 64bit float value.

CFNumberMBS.NewWithInt16(value as Int16) as CFNumberMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreFoundation MBS MacCF Plugin 15.4 ✅ Yes ❌ No ❌ No ✅ Yes All
Creates a new CFNumberMBS with a 16bit integer value.

CFNumberMBS.NewWithInt32(value as Int32) as CFNumberMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreFoundation MBS MacCF Plugin 15.4 ✅ Yes ❌ No ❌ No ✅ Yes All
Creates a new CFNumberMBS with a 32bit integer value.

CFNumberMBS.NewWithInt64(value as Int64) as CFNumberMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreFoundation MBS MacCF Plugin 15.4 ✅ Yes ❌ No ❌ No ✅ Yes All
Creates a new CFNumberMBS with a 64bit integer value.
Example
dim c as CFNumberMBS = CFNumberMBS.NewWithInt64(123456789123456789)

// shows type. 4 is signed 64-bit integer
MsgBox str(c.NumberType)+": "+str(c.int64Value)

CFNumberMBS.NewWithInt8(value as Int8) as CFNumberMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreFoundation MBS MacCF Plugin 15.4 ✅ Yes ❌ No ❌ No ✅ Yes All
Creates a new CFNumberMBS with a 8bit integer value.

CFNumberMBS.NewWithSingle(value as Single) as CFNumberMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreFoundation MBS MacCF Plugin 15.4 ✅ Yes ❌ No ❌ No ✅ Yes All
Creates a new CFNumberMBS with a 32bit float value.

The items on this page are in the following plugins: MBS MacCF Plugin.


The biggest plugin in space...