Xojo Conferences
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

CFNumberMBS.ByteSize as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property CoreFoundation MBS MacCF Plugin Yes No No Yes, macOS only No
Function: Returns the size in bytes of the type of the number.
Notes: (Read only property)

Feedback, Comments & Corrections

CFNumberMBS.doubleValue as Double
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property CoreFoundation MBS MacCF Plugin Yes No No Yes, macOS only No
Function: The value of this CFNumberMBS object.
Notes: (Read only property)

Feedback, Comments & Corrections

CFNumberMBS.int16Value as Int16
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property CoreFoundation MBS MacCF Plugin 15.4 Yes No No Yes, macOS only No
Function: Queries value as 16bit integer.
Notes: (Read only property)

Feedback, Comments & Corrections

CFNumberMBS.int32Value as Int32
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property CoreFoundation MBS MacCF Plugin 15.4 Yes No No Yes, macOS only No
Function: Queries value as 32bit integer.
Notes: (Read only property)

Feedback, Comments & Corrections

CFNumberMBS.int64Value as Int64
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property CoreFoundation MBS MacCF Plugin 15.4 Yes No No Yes, macOS only No
Function: Queries value as 64bit integer.
Example:
dim c as CFNumberMBS = CFNumberMBS.NewWithInt64(123456789123456789)

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

Feedback, Comments & Corrections

CFNumberMBS.int8Value as Int8
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property CoreFoundation MBS MacCF Plugin 15.4 Yes No No Yes, macOS only No
Function: Queries value as 8bit integer.
Notes: (Read only property)

Feedback, Comments & Corrections

CFNumberMBS.integerValue as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property CoreFoundation MBS MacCF Plugin Yes No No Yes, macOS only No
Function: The value of this CFNumberMBS object.
Example:
dim n as CFNumberMBS

n=NewCFNumberMBSInteger(45)

MsgBox str(n.doubleValue)+" "+str(n.integerValue)+" "+str(n.singleValue)

n=NewCFNumberMBSSingle(45.67)

MsgBox str(n.doubleValue)+" "+str(n.integerValue)+" "+str(n.singleValue)

n=NewCFNumberMBSDouble(45.6789)

MsgBox str(n.doubleValue)+" "+str(n.integerValue)+" "+str(n.singleValue)

// in version 5.1 of the plugins:
// 45 45 45
// 45.67 0 45.67
// 45.6789 0 0
//
// in version 5.2 of the plugins: (after a fix)
// 45 45 45
// 45.67 45 45.67
// 45.6789 45 45.6789
Notes:
Returns a trancated value if the number is not storeable in an integer.
(Read only property)

Feedback, Comments & Corrections

CFNumberMBS.isFloat as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property CoreFoundation MBS MacCF Plugin Yes No No Yes, macOS only No
Function: Returns TRUE if the type of the CFNumberMBS's value is one of the defined floating point types.
Notes: (Read only property)

Feedback, Comments & Corrections

CFNumberMBS.NumberType as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property CoreFoundation MBS MacCF Plugin Yes No No Yes, macOS only No
Function: Returns the storage format of the CFNumberMBS's value.
Notes:
Possible values:
NameValueRealbasic Datatype
SInt81-
SInt162-
SInt323integer
SInt644-
Float325single
Float646double
Char7-
Short8-
Int9-
Long10integer
LongLong11-
Float12single
Double13double
CFIndex14integer
(Read only property)

Feedback, Comments & Corrections

CFNumberMBS.singleValue as single
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property CoreFoundation MBS MacCF Plugin Yes No No Yes, macOS only No
Function: The value of this CFNumberMBS object.
Example:
dim n as CFNumberMBS

n=NewCFNumberMBSInteger(45)

MsgBox str(n.doubleValue)+" "+str(n.integerValue)+" "+str(n.singleValue)

n=NewCFNumberMBSSingle(45.67)

MsgBox str(n.doubleValue)+" "+str(n.integerValue)+" "+str(n.singleValue)

n=NewCFNumberMBSDouble(45.6789)

MsgBox str(n.doubleValue)+" "+str(n.integerValue)+" "+str(n.singleValue)

// in version 5.1 of the plugins:
// 45 45 45
// 45.67 0 45.67
// 45.6789 0 0
//
// in version 5.2 of the plugins: (after a fix)
// 45 45 45
// 45.67 45 45.67
// 45.6789 45 45.6789
Notes:
Returns a trancated value if the number is not storeable in a single.
(Read only property)

Feedback, Comments & Corrections

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




Links
MBS FileMaker tutorial videos