Use this package when you want to split a double precision floating point number into a 2-part non-overlapping sequence.
npm install robust-split
If you want to use this in the browser, check out browserify
var rsplit = ;var p = ;console; //[ 2.980232227667301e-9,// 0.29999999701976776 ]
You could then pass the sequence into
var num = ;var r = ;console // 0.3
See the rest of the robust family of packages