Need help with floating point into array formatting