Vyxapedia

Element - β - To Base Ten / From Custom Base

Characters: β


Description

Convert a number from a custom base to base 10


Overloads

  • any-num - a to base 10 from number base b, treating list items / string items as digits
  • str-str - a to base 10 from custom string base b, replacing values in a with their index in b and converting to base 10

Examples

  • 43 5 β = 23
  • `43` 5 β = 23
  • `43` 5 β = 23
  • `acv` 36 β = 13423
  • `1b2` 12 β = 278
  • `banana` `nab` β = 577
  • ⟨15|23|9⟩ 31 β = 15137