float unpack fix, with test
avoid a jshint warning about redefining variables