Xojo Conferences
MBSOct2019CologneDE

Platforms to show: All Mac Windows Linux Cross-Platform

BigNumberMBS.CurrencyValue as Currency
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Math MBS DataTypes Plugin 16.5 Yes Yes Yes No No
Function: Sets/Queries currency value.
Example:
dim u as Currency = 1234.5678
dim b as new BigNumberMBS(u)
MsgBox str(b.CurrencyValue)
Notes: (Read and Write property)

Feedback, Comments & Corrections

BigNumberMBS.DoubleValue as Double
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Math MBS DataTypes Plugin 16.5 Yes Yes Yes No No
Function: Get or Set the double value.
Example:
dim o as BigNumberMBS = new BigNumberMBS(2.5)

MsgBox str(o.DoubleValue)+" = "+str(o.StringValue)
Notes: (Read and Write property)

Feedback, Comments & Corrections

BigNumberMBS.Int64Value as Int64
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Math MBS DataTypes Plugin 16.5 Yes Yes Yes No No
Function: Get/Set value as Int64.
Example:
dim u as Int64 = &h7FFFFFFFFFFFFFFF // maximum Int64
dim b as new BigNumberMBS(u)
MsgBox str(b.Int64Value)

dim one as new BigNumberMBS(1)
b = b + one

// raises exception due to overflow
MsgBox str(b.Int64Value)
Notes: (Read and Write property)

Feedback, Comments & Corrections

BigNumberMBS.IntegerValue as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Math MBS DataTypes Plugin 16.5 Yes Yes Yes No No
Function: Get or Set the integer value.
Example:
dim o as BigNumberMBS = new BigNumberMBS(2.5)

MsgBox str(o.IntegerValue)+" = "+str(o.StringValue)
Notes: (Read and Write property)

Feedback, Comments & Corrections

BigNumberMBS.IsInteger as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Math MBS DataTypes Plugin 16.5 Yes Yes Yes No No
Function: Whether this number is an integer.
Example:
dim o as BigNumberMBS = new BigNumberMBS(1)
dim z as BigNumberMBS = new BigNumberMBS(1.5)

if o.IsInteger then
MsgBox o.StringValue+" is integer"
else
break // error
end if

if z.IsInteger then
break // error
else
MsgBox z.StringValue+" is not integer"
end if
Notes:
If true, there are no digits after the dot.
(Read only property)

Feedback, Comments & Corrections

BigNumberMBS.IsNan as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Math MBS DataTypes Plugin 16.5 Yes Yes Yes No No
Function: Whether this is an invalid number.
Example:
dim o as BigNumberMBS = BigNumberMBS.zero
dim z as BigNumberMBS = BigNumberMBS.Nan

if z.IsNan then
MsgBox z.StringValue+" is NaN"
else
break // error
end if

if o.IsNan then
break // error
else
MsgBox o.StringValue+" is not NaN"
end if
Notes: (Read only property)

Feedback, Comments & Corrections

BigNumberMBS.IsNegative as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Math MBS DataTypes Plugin 16.5 Yes Yes Yes No No
Function: Whether this value is negative.
Example:
dim o as BigNumberMBS = BigNumberMBS.one
dim z as BigNumberMBS = BigNumberMBS.one.Negate

if z.IsNegative then
MsgBox z.StringValue+" is negative"
else
break // error
end if

if o.IsNegative then
break // error
else
MsgBox o.StringValue+" is not negative"
end if
Notes: (Read only property)

Feedback, Comments & Corrections

BigNumberMBS.IsZero as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Math MBS DataTypes Plugin 16.5 Yes Yes Yes No No
Function: Checks if value is zero.
Example:
dim o as BigNumberMBS = BigNumberMBS.one
dim z as BigNumberMBS = BigNumberMBS.zero

if z.IsZero then
MsgBox z.StringValue+" is zero"
else
break // error
end if

if o.IsZero then
break // error
else
MsgBox o.StringValue+" is not zero"
end if
Notes: (Read only property)

Feedback, Comments & Corrections

BigNumberMBS.StringValue as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Math MBS DataTypes Plugin 16.5 Yes Yes Yes No No
Function: Get or set string value of text.
Example:
// set to 1.2 and show
dim o as new BigNumberMBS("1.2")
MsgBox o.StringValue

// set to 2.3
o.StringValue = "2.3"
MsgBox o.StringValue
Notes: (Read and Write property)

See also:

Feedback, Comments & Corrections

BigNumberMBS.UInt64Value as UInt64
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Math MBS DataTypes Plugin 16.5 Yes Yes Yes No No
Function: Get/Set value as UInt64.
Example:
dim u as UInt64 = 12345678901234567890
dim b as new BigNumberMBS(u)
MsgBox str(b.UInt64Value)
Notes: (Read and Write property)

Feedback, Comments & Corrections

BigNumberMBS.VariantValue as Variant
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Math MBS DataTypes Plugin 16.5 Yes Yes Yes No No
Function: Queries/Sets value with variant.
Notes:
Floating point values are given as Double.
Integer types as Int32, Int64 or UInt64.
If value exceeds the ranges of those data types, we fall back to string.

When setting, the value is converted to a big number similiar to NumberWithVariant.
(Read and Write property)

Feedback, Comments & Corrections

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

The biggest plugin in space...




Links
MBS FileMaker blog