Update format.h

Added functions.