Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 951 Bytes

type.intobj.md

File metadata and controls

42 lines (28 loc) · 951 Bytes

int object

https://github.com/SupTan85/int.lua

Note

A table that made for calculate, used with operators or use with function & methods
"All value type should be a number only and not emply"

Warning

This object was created for this module only!

Way to create this object:

Example:

local int = require("int") -- don't forgot to require a module!

local x, y = int.new("12", "14")
print(x + y) -- output: 26

or:

local int = require("int") -- don't forgot to require a module!

local x = int.new("14")
if x:eqmore("12") then -- some Lua version will not suport, that why i recommend you to use function.
    print("omg yes") -- output: omg yes
end

home
design & inside object

end