Created
October 2, 2019 05:36
-
-
Save 100daysofdevops/c686f47b720303610cb1a84dbdecad01 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
| import "fmt" | |
| func main() { | |
| var i float32 = 5.3 | |
| fmt.Printf("%v %T\n", i, i) | |
| var j int | |
| j = int(i) | |
| fmt.Printf("%v %T\n", j, j) | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment