x: a binary number, either as a string or as a number involving only the digits 0 and 1
places: number of digits
If places is given, BIN2OCT pads the result with zeros to achieve exactly places digits. If this is not possible, BIN2OCT returns #NUM!
This function is Excel compatible.