Simplified base conversion functions