FreeVBCode code snippet: Base Conversion Class