old_contents: const numFormat = (input, digit = 2) => parseFloat(input).toFixed(digit);
  
  const realFormat = (val, status) => {
    if (status === 'missing') {
      return '- - -';
    }
    return numFormat(val);
  };
  
  const makeDav = (hasFiles, hasValidFiles) => {
    if (hasFiles) return hasValidFiles;
    return undefined;
  };
  
  export { numFormat, realFormat, makeDav };
  
new_contents: const numFormat = (input, digit = 2) => parseFloat(input).toFixed(digit);
  
  const realFormat = (val, status) => {
    if (status === 'missing') {
      return '- - -';
    }
    return numFormat(val);
  };
  
  const makeDav = (hasFiles, hasValidFiles) => {
    if (hasFiles !== undefined) return hasValidFiles;
    return undefined;
  };
  
  export { numFormat, realFormat, makeDav };
  
subject: fix qc the data availabiliy mechanism