Turns a string in a given base into a bigint by multiplying each digit by the base raised to the power of its position in the string.
string
bigint
Optional
Turns a
stringin a given base into abigintby multiplying each digit by the base raised to the power of its position in thestring.