Further manipulate the expression in a different numeric base.
Since converting to base 10 only applies to character string expressions, its method can be found at ()
Public Methods | |
Str | toBase (int $from, int $to) |
Convert between arbitrary bases. More... | |
Str | toBase16 (int $from=10) |
Convert from an arbitrary base to base 16. More... | |
Str | toBase2 (int $from=10) |
Convert from an arbitrary base to base 2. More... | |
Str | toBase8 (int $from=10) |
Convert from an arbitrary base to base 8. More... | |
Str toBase | ( | int | $from, |
int | $to | ||
) |
Str toBase16 | ( | int | $from = 10 | ) |
Str toBase2 | ( | int | $from = 10 | ) |