using 'g' formatting with 6 digits of precision instead of using repr.