Oct-17-2018, 07:25 PM
i wrote a function that converts an int to a string of digits. it has options to set the base, set the minimum width, set the digits to use (implies the maximum base by its length), and to set an alternate string to return if the converted number needs more digits than the specified width (else it returns a longer string with the converted digits).
i also wrote a function to convert the digits to an int. this function has a base= option.
i would like to name these functions with the same length and a pattern that has a difference describing the difference between them. the names i initially gave them are "tilbase" and "frabase", where "til" == "to" and "fra" == "from".
i also wrote a function to convert the digits to an int. this function has a base= option.
i would like to name these functions with the same length and a pattern that has a difference describing the difference between them. the names i initially gave them are "tilbase" and "frabase", where "til" == "to" and "fra" == "from".
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.