title: formatFloat : convert float number to string
body: <p><a href="http://golang.org/pkg/strconv/">http://golang.org/pkg/strconv/</a></p>
  
  <p><a href="http://play.golang.org/p/4VNRgW8WoB">http://play.golang.org/p/4VNRgW8WoB</a></p>
  
  <p>How do I convert a float number into string format?
  This is google playground but not getting the expected output. (2e+07)
  I want to get "21312421.213123"</p>
  
  <pre><code>package main
  
  import "fmt"
  import "strconv"
  
  func floattostr(input_num float64) string {
  
          // to convert a float number to a string
      return strconv.FormatFloat(input_num, 'g', 1, 64)
   }
  
   func main() {
        fmt.Println(floattostr(21312421.213123))
        // what I expect is "21312421.213123" in string format
   }
  </code></pre>
  
  <p>Please help me get the string out of float number. Thanks</p>