Xojo Conferences
MBSOct2019CologneDE

Platforms to show: All Mac Windows Linux Cross-Platform

Previous items

BigNumberMBS.Operator_Convert as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Math MBS DataTypes Plugin 16.5 Yes Yes Yes Yes No
Function: Converts big number to string automatically.
Example:
dim b as new BigNumberMBS
dim n as Double = 5

// convert from double to big number automatically
b = n

// convert to string automatically
MsgBox b

See also:

Feedback, Comments & Corrections

BigNumberMBS.Operator_Convert(value as String)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Math MBS DataTypes Plugin 16.5 Yes Yes Yes Yes No
Function: Converts a string to a big number.
Example:
dim b as new BigNumberMBS
dim n as string = "5"

// convert from string to big number automatically
b = n

// convert to double automatically
dim d as Double = b
MsgBox str(d)

See also:

Feedback, Comments & Corrections

BigNumberMBS.Operator_Divide(other as BigNumberMBS) as BigNumberMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Math MBS DataTypes Plugin 16.5 Yes Yes Yes Yes No
Function: Divides two numbers.
Example:
dim a as new BigNumberMBS(9.3)
dim b as new BigNumberMBS(3.0)

dim r as BigNumberMBS = a / b

MsgBox r.StringValue

Feedback, Comments & Corrections

BigNumberMBS.Operator_DivideRight(other as BigNumberMBS) as BigNumberMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Math MBS DataTypes Plugin 16.5 Yes Yes Yes Yes No
Function: Divides two numbers.

Feedback, Comments & Corrections

BigNumberMBS.Operator_IntegerDivide(other as BigNumberMBS) as BigNumberMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Math MBS DataTypes Plugin 16.5 Yes Yes Yes Yes No
Function: Calculates an integer divide.
Example:
dim a as new BigNumberMBS(9.3)
dim b as new BigNumberMBS(3.0)

dim r as BigNumberMBS = a \ b

MsgBox r.StringValue
Notes: Same as normal divide, but removes fraction part.

Feedback, Comments & Corrections

BigNumberMBS.Operator_IntegerDivideRight(other as BigNumberMBS) as BigNumberMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Math MBS DataTypes Plugin 16.5 Yes Yes Yes Yes No
Function: Calculates an integer divide.
Notes: Same as normal divide, but removes fraction part.

Feedback, Comments & Corrections

BigNumberMBS.Operator_Modulo(other as BigNumberMBS) as BigNumberMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Math MBS DataTypes Plugin 16.5 Yes Yes Yes Yes No
Function: Calculates the modulo of two numbers.
Example:
dim a as new BigNumberMBS(9.3)
dim b as new BigNumberMBS(3.0)

dim r as BigNumberMBS = a mod b

MsgBox r.StringValue

Feedback, Comments & Corrections

BigNumberMBS.Operator_ModuloRight(other as BigNumberMBS) as BigNumberMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Math MBS DataTypes Plugin 16.5 Yes Yes Yes Yes No
Function: Calculates the modulo of two numbers.

Feedback, Comments & Corrections

BigNumberMBS.Operator_Multiply(other as BigNumberMBS) as BigNumberMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Math MBS DataTypes Plugin 16.5 Yes Yes Yes Yes No
Function: Multiply two numbers.
Example:
dim a as new BigNumberMBS(3)
dim b as new BigNumberMBS(4)

// just multiply
dim c as BigNumberMBS = a * b

MsgBox c.StringValue

Feedback, Comments & Corrections

BigNumberMBS.Operator_MultiplyRight(other as BigNumberMBS) as BigNumberMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Math MBS DataTypes Plugin 16.5 Yes Yes Yes Yes No
Function: Multiply two numbers.

Feedback, Comments & Corrections

BigNumberMBS.Operator_Negate as BigNumberMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Math MBS DataTypes Plugin 16.5 Yes Yes Yes Yes No
Function: Negates a number.
Example:
dim a as new BigNumberMBS(3)

// negate
dim c as BigNumberMBS = -a

MsgBox c.StringValue

Feedback, Comments & Corrections

BigNumberMBS.Operator_Power(other as BigNumberMBS) as BigNumberMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Math MBS DataTypes Plugin 16.5 Yes Yes Yes Yes No
Function: Calculates power of two numbers.
Example:
dim a as new BigNumberMBS(3)
dim b as new BigNumberMBS(4)

// pow
dim c as BigNumberMBS = a ^ b

MsgBox c.StringValue

Feedback, Comments & Corrections

BigNumberMBS.Operator_PowerRight(other as BigNumberMBS) as BigNumberMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Math MBS DataTypes Plugin 16.5 Yes Yes Yes Yes No
Function: Calculates power of two numbers.

Feedback, Comments & Corrections

BigNumberMBS.Operator_Subtract(other as BigNumberMBS) as BigNumberMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Math MBS DataTypes Plugin 16.5 Yes Yes Yes Yes No
Function: Subtracts one number from other.
Example:
dim a as new BigNumberMBS(3)
dim b as new BigNumberMBS(4)

// subtract
dim c as BigNumberMBS = a - b

MsgBox c.StringValue

Feedback, Comments & Corrections

BigNumberMBS.Operator_SubtractRight(other as BigNumberMBS) as BigNumberMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Math MBS DataTypes Plugin 16.5 Yes Yes Yes Yes No
Function: Subtracts one number from other.

Feedback, Comments & Corrections

BigNumberMBS.Pow(other as BigNumberMBS) as BigNumberMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Math MBS DataTypes Plugin 16.5 Yes Yes Yes Yes No
Function: Calculates the power of the number.
Example:
dim x as new BigNumberMBS(2)
dim o as new BigNumberMBS(5)
dim p as BigNumberMBS = x.Pow(o)

MsgBox p.StringValue // shows 32

Feedback, Comments & Corrections

BigNumberMBS.Round as BigNumberMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Math MBS DataTypes Plugin 16.5 Yes Yes Yes Yes No
Function: Rounds the number.
Example:
dim o as BigNumberMBS = new BigNumberMBS(2.3)
dim s as BigNumberMBS = o.Round

MsgBox s.StringValue

dim a as BigNumberMBS = new BigNumberMBS(-2.3)
dim b as BigNumberMBS = a.Round

MsgBox b.StringValue

Feedback, Comments & Corrections

BigNumberMBS.SetStringValue(Text As String, Base as Integer, byref AfterText as String, Byref ValueRead as boolean)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Math MBS DataTypes Plugin 16.5 Yes Yes Yes Yes No
Function: Parses number from string.
Example:
// set to 1.2 and show
dim o as new BigNumberMBS

dim after as string
dim ValueRead as Boolean

o.SetStringValue "1.2 hello", 10, after, ValueRead

MsgBox "value: "+o.StringValue+EndOfLine+"after: "+after
Break
Notes:
Returns also the text after the given text following the number.
Also sets ValueRead if a value was read.

Feedback, Comments & Corrections

BigNumberMBS.Sqrt as BigNumberMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Math MBS DataTypes Plugin 16.5 Yes Yes Yes Yes No
Function: Calculates the square root.
Example:
dim o as BigNumberMBS = new BigNumberMBS(256)
dim s as BigNumberMBS = o.Sqrt

MsgBox s.StringValue

Feedback, Comments & Corrections

BigNumberMBS.StringValue(Base as Integer) as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Math MBS DataTypes Plugin 16.5 Yes Yes Yes Yes No
Function: Get/Set string value with a given base.
Example:
dim o as new BigNumberMBS(1234)

// show as hex
MsgBox o.StringValue(16)
Notes: (Read and Write computed property)

See also:

Feedback, Comments & Corrections

BigNumberMBS.Subtract(other as BigNumberMBS, round as boolean = true) as BigNumberMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Math MBS DataTypes Plugin 16.5 Yes Yes Yes Yes No
Function: Subtracts a number.
Example:
dim x as new BigNumberMBS(2)
dim d as new BigNumberMBS(3)
dim p as BigNumberMBS = x.Subtract(d)

MsgBox p.StringValue // shows -1

Feedback, Comments & Corrections

Previous items

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

The biggest plugin in space...




Links
MBS FileMaker Plugins