That function only changes a number into its binary representation. Example: BIN(4) gives "100" BIN(4,4) gives "0100"