export const repLog10 = rep2 => {
if(rep2 == null) return rep2
let rep = String(rep2)
const neg = rep.charAt(0) === '-'
rep = neg ? rep.substring(1) : rep
rep = rep.length <= 8 ? 1 : rep.length - 8;
rep = neg ? -1 * rep : rep
return rep
}
You are viewing a single comment's thread from: