added final formatting for output. floats work fine, scientific doesn't take leading -. single quotes not recognized