in reply to decimal -> hex

Not to belabour the point, but try the internal documentation / google.
For example perldoc -f sprintf would have helped you with this question. The -f means that you are looking up an internal function.
C:\>perldoc -? Unknown option: ? perldoc [options] PageName|ModuleName|ProgramName... perldoc [options] -f BuiltinFunction perldoc [options] -q FAQRegex


----
Zak
Pluralitas non est ponenda sine neccesitate - mysql's philosphy