Platforms to show: All Mac Windows Linux Cross-Platform

Back to LargeNumberMBS class.

LargeNumberMBS.MaxInt32 as LargeNumberMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Math MBS DataTypes Plugin 19.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Maximum value which can be represented as Int32.

LargeNumberMBS.MaxInt64 as LargeNumberMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Math MBS DataTypes Plugin 19.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Maximum value which can be represented as Int64.

LargeNumberMBS.MaxUInt32 as LargeNumberMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Math MBS DataTypes Plugin 19.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Maximum value which can be represented as UInt32.

LargeNumberMBS.MaxUInt64 as LargeNumberMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Math MBS DataTypes Plugin 19.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Maximum value which can be represented as UInt64.

LargeNumberMBS.MinInt32 as LargeNumberMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Math MBS DataTypes Plugin 19.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Minimum value which can be represented as Int32.

LargeNumberMBS.MinInt64 as LargeNumberMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Math MBS DataTypes Plugin 19.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Minimum value which can be represented as Int64.

LargeNumberMBS.MinUInt32 as LargeNumberMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Math MBS DataTypes Plugin 19.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Minimum value which can be represented as UInt32.

LargeNumberMBS.MinUInt64 as LargeNumberMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Math MBS DataTypes Plugin 19.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Minimum value which can be represented as UInt64.

LargeNumberMBS.NumberWithInt32(value as Int32) as LargeNumberMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Math MBS DataTypes Plugin 19.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Creates a number with the given Int32 value.
Example
Dim l1 As LargeNumberMBS = LargeNumberMBS.NumberWithInt32(123456789)
MsgBox l1.StringValue

LargeNumberMBS.NumberWithInt64(value as Int64) as LargeNumberMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Math MBS DataTypes Plugin 19.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Creates a number with the given Int64 value.
Example
Dim d1 As LargeNumberMBS = LargeNumberMBS.NumberWithInt64(0)
Dim d2 As LargeNumberMBS = LargeNumberMBS.NumberWithInt64(123)
Dim d3 As LargeNumberMBS = LargeNumberMBS.NumberWithInt64(123456789012345)

MsgBox d1.StringValue+EndOfLine+d1.HexString+EndOfLine+_
d2.StringValue+EndOfLine+d2.HexString+EndOfLine+_
d3.StringValue+EndOfLine+d3.HexString

LargeNumberMBS.NumberWithInteger(value as Integer) as LargeNumberMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Math MBS DataTypes Plugin 19.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Creates a number with the given integer value.
Example
Dim l1 As LargeNumberMBS = LargeNumberMBS.NumberWithInteger(123456789)
MsgBox l1.StringValue

LargeNumberMBS.NumberWithString(value as String) as LargeNumberMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Math MBS DataTypes Plugin 19.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Creates a number with the given string.
Example
Dim l1 As LargeNumberMBS = LargeNumberMBS.NumberWithString("123456789")
MsgBox l1.StringValue

LargeNumberMBS.NumberWithUInt32(value as UInt32) as LargeNumberMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Math MBS DataTypes Plugin 19.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Creates a number with the given UInt32 value.
Example
Dim l1 As LargeNumberMBS = LargeNumberMBS.NumberWithUInt32(123456789)
MsgBox l1.StringValue

LargeNumberMBS.NumberWithUInt64(value as UInt64) as LargeNumberMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Math MBS DataTypes Plugin 19.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Creates a number with the given UInt64 value.
Example
Dim l1 As LargeNumberMBS = LargeNumberMBS.NumberWithUInt64(123456789)
MsgBox l1.StringValue

LargeNumberMBS.NumberWithUInteger(value as UInteger) as LargeNumberMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Math MBS DataTypes Plugin 19.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Creates a number with the given unsigned integer value.
Example
Dim l1 As LargeNumberMBS = LargeNumberMBS.NumberWithUInteger(123456789)
MsgBox l1.StringValue

LargeNumberMBS.NumberWithVariant(value as variant) as LargeNumberMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Math MBS DataTypes Plugin 19.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Creates a number with the given variant value.
Example
Dim l1 As LargeNumberMBS = LargeNumberMBS.NumberWithVariant(123456789)
MsgBox l1.StringValue

Variant can be integer or string.

LargeNumberMBS.Prime(byte as Integer) as LargeNumberMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Math MBS DataTypes Plugin 19.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Creates a new big prime number.
Example
Dim lines() As String
For i As Integer = 1 To 10

Dim r As LargeNumberMBS = LargeNumberMBS.Prime(i)
lines.Append r.StringValue

Next
MsgBox Join(lines,EndOfLine)

Byte defines how big the prime number becomes. Range 1 to 680.

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


The biggest plugin in space...