convert values between different number systems