fixed2float Convert fixed point to float and vice-versa Usage const f2f = require('fixed2float'); let m = 6;let n = 10;// To convert floating point to Qmn fixed pointconsole.log(f2f.toFixed(0.5, m, n); // will output 0x200 // To convert Qmn fixed point to floating pointconsole.log(f2f.toFloat(0x200, m, n); // will output 0.5