Construct the number in the given base.