CharArrayFormatter: using %g instead of %f for better readability