Last active
December 24, 2015 12:09
-
-
Save mzimmerman/6795900 to your computer and use it in GitHub Desktop.
Go Conversion
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
type simple float64 | |
func test(x float64) float64 { | |
return float64(simple(x)) | |
} | |
func main() { | |
test(2.5) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment