To string
needs(code_samples);
Function Syntax
string to_string( any anything)
- anything is any data type that KoLmafia uses
Returns any datatype as its string equivalent.
Special
Note that this function isn't needed for print() and string concatenation, as KoLmafia handles conversions transparently in those cases; however, this function is still useful for passing a non-string value as a string parameter, or a part thereof.