function formatBcd(value) {
  return (value >> 8) + '.' + String((value >> 4) & 0xF) + String(value & 0xF);
}
Formats a BCD value to a string.
This is probably right.
@param {number} value 16-bit BCD value.
@return {string} String form.