CFNumberMBS shared methods

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

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.


💬 Ask a question or report a problem