How can I split the numbers
Calling the Div () method Int(in this case) a data type. (package "math / big")
first := new(big.Int).MulRange(1, 50)
second := new(big.Int).MulRange(1, 18)
fmt.Printf("First: %s \n", first.String())
fmt.Printf("Second: %s \n", second.String())
// division
dv := new(big.Int).Div(first, second)
fmt.Printf("Division result: %s \n", dv.String())
Result:
First: 30414093201713378043612608166064768844377641568960512000000000000
Second: 6402373705728000
Division result: 4750440164794325701367714688167999176704000000000
source
share