mirror of
https://github.com/Fechin/reference.git
synced 2026-11-21 13:34:06 +03:00
doc: update dart.md
fix spelling mistakes in Dart note
This commit is contained in:
1 file changed
+2
-2
@@ -52,8 +52,8 @@ double height = 1.85; // floating-point numbers
|
||||
|
||||
// You can also declare a variable as a num
|
||||
num x = 1; // x can have both int and double values
|
||||
num += 2.5;
|
||||
print(num); //Print: 3.5
|
||||
x += 2.5;
|
||||
print(x); //Print: 3.5
|
||||
|
||||
String name = "Nicola";
|
||||
|
||||
|
||||
Reference in new issue
Block a user