Platforms to show: All Mac Windows Linux Cross-Platform

Previous items

BigNumberMBS.Min as BigNumberMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Math MBS DataTypes Plugin 16.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: Returns a number with minimum value.
Example:
dim b as BigNumberMBS = BigNumberMBS.Min
MsgBox b.StringValue

Feedback, Comments & Corrections

BigNumberMBS.Nan as BigNumberMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Math MBS DataTypes Plugin 16.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: Returns a number with value NaN.
Example:
dim b as BigNumberMBS = BigNumberMBS.Nan
MsgBox b.StringValue

Feedback, Comments & Corrections

BigNumberMBS.NumberWithCurrency(value as Currency) as BigNumberMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Math MBS DataTypes Plugin 16.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: Creates a number with a currency value.
Example:
dim v as Currency = 123.456
dim b as BigNumberMBS = BigNumberMBS.NumberWithCurrency(v)

MsgBox b.StringValue

Feedback, Comments & Corrections

BigNumberMBS.NumberWithDouble(value as Double) as BigNumberMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Math MBS DataTypes Plugin 16.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: Creates a number with a 64-bit floating number.
Example:
dim v as Double = 123.456
dim b as BigNumberMBS = BigNumberMBS.NumberWithDouble(v)

MsgBox b.StringValue

Feedback, Comments & Corrections

BigNumberMBS.NumberWithInt32(value as Int32) as BigNumberMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Math MBS DataTypes Plugin 16.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: Creates a number with a signed 32-bit integer.
Example:
dim v as Int32 = 123
dim b as BigNumberMBS = BigNumberMBS.NumberWithInt32(v)

MsgBox b.StringValue

Feedback, Comments & Corrections

BigNumberMBS.NumberWithInt64(value as Int64) as BigNumberMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Math MBS DataTypes Plugin 16.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: Creates a number with a signed 64-bit integer.
Example:
dim v as Int64 = 123
dim b as BigNumberMBS = BigNumberMBS.NumberWithInt64(v)

MsgBox b.StringValue

Feedback, Comments & Corrections

BigNumberMBS.NumberWithInteger(value as Integer) as BigNumberMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Math MBS DataTypes Plugin 16.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: Creates a number with an integer.
Example:
dim v as Integer = 123
dim b as BigNumberMBS = BigNumberMBS.NumberWithInteger(v)

MsgBox b.StringValue

Feedback, Comments & Corrections

BigNumberMBS.NumberWithSingle(value as single) as BigNumberMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Math MBS DataTypes Plugin 16.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: Creates a number with an 32-bit floating point number.
Example:
dim v as Single = 123
dim b as BigNumberMBS = BigNumberMBS.NumberWithSingle(v)

MsgBox b.StringValue

Feedback, Comments & Corrections

BigNumberMBS.NumberWithString(value as String) as BigNumberMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Math MBS DataTypes Plugin 16.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: Creates a number with value from string.
Example:
dim v as String = "123"
dim b as BigNumberMBS = BigNumberMBS.NumberWithString(v)

MsgBox b.StringValue

Feedback, Comments & Corrections

BigNumberMBS.NumberWithUInt32(value as UInt32) as BigNumberMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Math MBS DataTypes Plugin 16.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: Creates a number with an unsigned 32-bit integer.
Example:
dim v as UInt32 = 123
dim b as BigNumberMBS = BigNumberMBS.NumberWithUInt32(v)

MsgBox b.StringValue

Feedback, Comments & Corrections

BigNumberMBS.NumberWithUInt64(value as UInt64) as BigNumberMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Math MBS DataTypes Plugin 16.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: Creates a number with an unsigned 64-bit integer.
Example:
dim v as UInt64 = 123
dim b as BigNumberMBS = BigNumberMBS.NumberWithUInt64(v)

MsgBox b.StringValue

Feedback, Comments & Corrections

BigNumberMBS.NumberWithUInteger(value as UInteger) as BigNumberMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Math MBS DataTypes Plugin 16.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: Creates a number with an unsigned integer.
Example:
dim v as UInteger = 123
dim b as BigNumberMBS = BigNumberMBS.NumberWithUInteger(v)

MsgBox b.StringValue

Feedback, Comments & Corrections

BigNumberMBS.NumberWithVariant(value as Variant) as BigNumberMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Math MBS DataTypes Plugin 16.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: Creates a number based on a variant.
Example:
dim v as Variant = 123.456
dim b as BigNumberMBS = BigNumberMBS.NumberWithVariant(v)

MsgBox b.StringValue
Notes: Internally redirects to other NumberWith functions based on the value type.

Feedback, Comments & Corrections

BigNumberMBS.One as BigNumberMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Math MBS DataTypes Plugin 16.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: Returns a number with value one.
Example:
dim b as BigNumberMBS = BigNumberMBS.One
MsgBox b.StringValue

Feedback, Comments & Corrections

BigNumberMBS.Pi as BigNumberMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Math MBS DataTypes Plugin 16.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: Returns a number with value pi.
Example:
dim b as BigNumberMBS = BigNumberMBS.Pi
MsgBox b.StringValue

Feedback, Comments & Corrections

BigNumberMBS.RadToDeg(value as BigNumberMBS) as BigNumberMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Math MBS DataTypes Plugin 21.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: Converts radians to degrees.
Notes: It returns: x * 180 / pi.

Feedback, Comments & Corrections

BigNumberMBS.RadToGrad(value as BigNumberMBS) as BigNumberMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Math MBS DataTypes Plugin 21.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: Converts radians to gradians.
Notes: it returns: x * 200 / pi

Feedback, Comments & Corrections

BigNumberMBS.Rand as BigNumberMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Math MBS DataTypes Plugin 21.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: Creates random number.
Notes: Mantissa and exponent are filled with random bytes to generate a random names.

Feedback, Comments & Corrections

BigNumberMBS.Root(value as BigNumberMBS, index as BigNumberMBS) as BigNumberMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Math MBS DataTypes Plugin 21.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: Indexth Root of x
Example:
Dim c As New BigNumberMBS(5*5*5*5)
Dim e As New BigNumberMBS(4)
Dim d As BigNumberMBS = BigNumberMBS.Root(c, e)

MsgBox d.StringValue
Notes:
index must be integer and not negative <0;1;2;3....)

if index==0 the result is one
if x==0 the result is zero and we assume root(0;0) is not defined

if index is even (2;4;6...) the result is x^(1/index) and x>0
if index is odd (1;2;3;...) the result is either

-(abs(x)^(1/index)) if x<0
or
x^(1/index)) if x>0

(for index==1 the result is equal x)

Feedback, Comments & Corrections

BigNumberMBS.Sgn(value as BigNumberMBS) as BigNumberMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Math MBS DataTypes Plugin 21.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: Queries sign of number.
Example:
Dim negative As New BigNumberMBS(-5.6)
Dim sign1 As BigNumberMBS = BigNumberMBS.Sgn(negative)

Dim positive As New BigNumberMBS(5.6)
Dim sign2 As BigNumberMBS = BigNumberMBS.Sgn(positive)

Break

Feedback, Comments & Corrections

BigNumberMBS.Sin(value as BigNumberMBS) as BigNumberMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Math MBS DataTypes Plugin 21.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: Calculates the sinus value.
Example:
Dim c As New BigNumberMBS(1.0)
Dim d As BigNumberMBS = BigNumberMBS.Sin(c)

Dim x As Double = Sin(1.0)

MsgBox d.StringValue+EndOfLine+Str(x)

Feedback, Comments & Corrections

BigNumberMBS.Sinh(value as BigNumberMBS) as BigNumberMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Math MBS DataTypes Plugin 21.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: Calculates the Hyperbolic Sine.
Example:
Dim c As New BigNumberMBS(0.5)
Dim d As BigNumberMBS = BigNumberMBS.SinH(c)

// SinHMBS is in MBS Xojo Util Plugin
Dim x As Double = SinHMBS(0.5)

MsgBox d.StringValue+EndOfLine+Str(x)
Notes: we're using the formula sinh(x) = ( e^x - e^(-x) ) / 2

Feedback, Comments & Corrections

BigNumberMBS.Tan(value as BigNumberMBS) as BigNumberMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Math MBS DataTypes Plugin 21.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: Calculates the Tangent.
Example:
Dim c As New BigNumberMBS(1.0)
Dim d As BigNumberMBS = BigNumberMBS.Tan(c)

Dim x As Double = Tan(1.0)

MsgBox d.StringValue+EndOfLine+Str(x)
Notes: We're using the formula tan(x) = sin(x) / cos(x).

Feedback, Comments & Corrections

BigNumberMBS.Tanh(value as BigNumberMBS) as BigNumberMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Math MBS DataTypes Plugin 21.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: Calculates the Hyperbolic Tangent.
Example:
Dim c As New BigNumberMBS(0.5)
Dim d As BigNumberMBS = BigNumberMBS.TanH(c)

// TanHMBS is in MBS Xojo Util Plugin
Dim x As Double = TanHMBS(0.5)

MsgBox d.StringValue+EndOfLine+Str(x)
Notes: We're using the formula tanh(x)= ( e^x - e^(-x) ) / ( e^x + e^(-x) )

Feedback, Comments & Corrections

BigNumberMBS.TwoPi as BigNumberMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Math MBS DataTypes Plugin 16.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: Returns a number with value 2 * PI.
Example:
dim b as BigNumberMBS = BigNumberMBS.TwoPi
MsgBox b.StringValue

Feedback, Comments & Corrections

BigNumberMBS.Zero as BigNumberMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Math MBS DataTypes Plugin 16.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: Returns a number with value zero.
Example:
dim b as BigNumberMBS = BigNumberMBS.Zero
MsgBox b.StringValue

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 Xojo PDF Plugins

Start Chat