We deliver solutions for the AI eraâcombining symbolic computation, data-driven insights and deep technology expertise.
gives a string consisting of the decimal digits in the integer n.
IntegerString[n,b]
gives a string consisting of the base-b digits in the integer n.
IntegerString[n,b,len]
pads the string on the left with zero digits to give a string of length len.
IntegerString[n,"numsys"]
gives the numeral form of n based on the numeric system defined by "numsys".
DetailsConvert to binary, giving the result as a string:
Convert to Japanese financial numerals:
Convert to a base-64 representation:
Scope (4)In base 16, a through f are used as digits:
Use a MixedRadix specification:
Find only the last 2 characters:
Use a numsys as specification:
Generalizations & Extensions (1)The maximum base of 36 uses letters a through z:
Properties & Relations (4)ToUpperCase converts to uppercase letters:
FromDigits may be used as the inverse of IntegerString:
Not all numeric systems are supported by FromDigits:
This is the largest number representable in a mixed radix system with bases 1… 36:
Use the "Base64" alphabet to express an integer in powers of 64:
Possible Issues (1)Some numeric systems are defined only in a limited numeric range:
Neat Examples (1)Show a single number in successive bases from 2 to 36:
Wolfram Research (2007), IntegerString, Wolfram Language function, https://reference.wolfram.com/language/ref/IntegerString.html (updated 2020). TextWolfram Research (2007), IntegerString, Wolfram Language function, https://reference.wolfram.com/language/ref/IntegerString.html (updated 2020).
CMSWolfram Language. 2007. "IntegerString." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2020. https://reference.wolfram.com/language/ref/IntegerString.html.
APAWolfram Language. (2007). IntegerString. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/IntegerString.html
BibTeX@misc{reference.wolfram_2025_integerstring, author="Wolfram Research", title="{IntegerString}", year="2020", howpublished="\url{https://reference.wolfram.com/language/ref/IntegerString.html}", note=[Accessed: 12-July-2025 ]}
BibLaTeX@online{reference.wolfram_2025_integerstring, organization={Wolfram Research}, title={IntegerString}, year={2020}, url={https://reference.wolfram.com/language/ref/IntegerString.html}, note=[Accessed: 12-July-2025 ]}
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4