Last updated 4 years ago
Was this helpful?
const parseF = (n) => Number.isNaN(Number.parseFloat(n)) ? null : Number.parseFloat(n);