BigNum:div(x)

Update a BigNum value by dividing it by x, where x can be a string, a Lua number, or another BigNum value. Using BigNum:div(x) is approximately 50% faster than using "x = x / y" because it does not create a new BigNum value, instead it updates the already existing BigNum.

Example

x = BigNum.new("98298398234.989823")
x:div(1000)