8 lines
324 B
TypeScript
8 lines
324 B
TypeScript
/** 预计细胞数量:界面与库统一单位为「千万」 */
|
|
export const EXPECTED_CELL_COUNT_LABEL = '预计细胞数量(千万)'
|
|
|
|
export function formatExpectedCellCountDisplay(value: number | null | undefined): string {
|
|
if (value == null || Number.isNaN(Number(value))) return '—'
|
|
return String(value)
|
|
}
|