APIsStandard librarybuiltinformat_intOn this pagemoduleformat_int Provides the hex and bin functions. These are Mojo built-ins, so you don't need to import them. Functions bin: Return the binary string representation an integral value. hex: Returns the hex string representation of the given integer.