When a Str$ function is encountered during the program's execution, it takes the {expression} element, calculates and then returns its decimal value written out as a series of characters.
The Str$ function returns a right justified, leading zeros retained value commensurate with the size of the expression (bit, word, byte) that is used as an argument.