Last active
March 14, 2019 06:01
-
-
Save Erinziyi/41b42b065aaffb2b5f8d824f49abb33d to your computer and use it in GitHub Desktop.
Parsing in Dart
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
| main() { | |
| int x = int.parse('12'); | |
| print(x*2); | |
| double y = double.parse('12.2'); | |
| print(y); | |
| String sample = 3.toString(); | |
| print (sample); | |
| String sample1 = 'Hello'; | |
| String sample2 = 'Erin'; | |
| String sample3 = sample1 + sample2; | |
| print(sample3); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment