Converts between f and c

added comments