IntToBase

implicit class IntToBase(digits: String)

Convert a string in a specified base to a BigInt

Returns:

The BigInt converted from the string.

class Object
trait Matchable
class Any

Value members

Concrete methods

def b: BigInt

Convert a string to a base 2 (binary) BigInt

Convert a string to a base 2 (binary) BigInt

Value parameters:
b

The base of the string.

Returns:

The BigInt converted from the string.

def base(b: Int): BigInt

Convert a string in a specified base to a BigInt

Convert a string in a specified base to a BigInt

Value parameters:
b

The base of the string.

Returns:

The BigInt converted from the string.

def o: BigInt

Convert a string to a base 8 (octal) BigInt

Convert a string to a base 8 (octal) BigInt

Value parameters:
b

The base of the string.

Returns:

The BigInt converted from the string.

def x: BigInt

Convert a string to a base 16 (hex) BigInt

Convert a string to a base 16 (hex) BigInt

Value parameters:
b

The base of the string.

Returns:

The BigInt converted from the string.