Handle value conversion