1const currencyConverter = amount => { 2 let count = 0; 3 let result = ''; 4 let temp = Number(amount).toFixed(0).toString(); 5 for (let i = temp.length - 1; i >= 0; i--) { 6 result = temp[i] + result; 7 count++; 8 if (count % 3 === 0 && i !== 0) { 9 result = ',' + result; 10 } 11 } 12 return result[0] === ',' ? result.slice(1) : result; 13}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.