all files / technicalindicators/lib/Utils/ NumberFormatter.js

100% Statements 3/3
100% Branches 0/0
100% Functions 1/1
100% Lines 3/3
1 2 3 4 5 1606×    
function format(v) {
    return parseFloat(v.toPrecision(4));
}
 
module.exports = format;