Converts value