Functions
Language Fundamentals
Data Types / Numeric Types
MatLang.doubleM
— FunctiondoubleM(x)
Converts to Float64 type.
Examples
nFloat64 = doubleM(12.0)
t1 = typeof(nFloat64) # Float64
MatLang.int16M
— Functionint16M(x)
Converts to Int16 type.
Examples
nInt16 = int16M(-10)
t4 = typeof(nInt16) # Int16
MatLang.int32M
— Functionint32M(x)
Converts to Int32 type.
Examples
nInt32 = int32M(-10)
t5 = typeof(nInt32) # Int32
MatLang.int64M
— Functionint64M(x)
Converts to Int64 type.
Examples
nInt64 = int64M(-10)
t6 = typeof(nInt64) # Int64
MatLang.int8M
— Functionint8M(x)
Converts to Int8 type.
Examples
nInt8 = int8M(-10)
t3 = typeof(nInt8) # Int8
MatLang.singleM
— FunctionsingleM(x)
Converts to Float32 type.
Examples
nFloat32 = singleM(12.0)
t2 = typeof(nFloat32) # Float32
MatLang.uint16M
— Functionuint16M(x)
Converts to UInt16 type.
Examples
nUInt16 = uint16M(10)
t8 = typeof(nUInt16) # UInt16
MatLang.uint32M
— Functionuint32M(x)
Converts to UInt32 type.
Examples
nUInt32 = uint32M(10)
t9 = typeof(nUInt32) # UInt32
MatLang.uint64M
— Functionuint64M(x)
Converts to UInt64 type.
Examples
nUInt64 = uint64M(10)
t10 = typeof(nUInt64) # UInt64
MatLang.uint8M
— Functionuint8M(x)
Converts to UInt8 type.
Examples
nUInt8 = uint8M(10)
t7 = typeof(nUInt8) # UInt8