Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
text/template: integer hex number consisting "e" or "E" letter is parsed as float64 #8622
What does 'go version' print? go version go1.3.1 linux/amd64 What steps reproduce the problem? 1. Parse and execute template consisting integer hex number with "e" or "E" letter (for example: 0xFE, 0xee, 0xBEA9). 2. Get type of the number. What happened? Any integer hex number with "e" or "E" letter has type float64. Any integer hex number without "e" or "E" letter has type int. What should have happened instead? All integer hex number should have type int. Please provide any additional information below. This example demonstrates the issue: http://play.golang.org/p/O7jQmuWX6d