Added operator<< for double values
added support for uppercase flag