doc: update dart.md

fix spelling mistakes in Dart note
This commit is contained in:
Apin authored and GitHub committed 2024-07-24 21:06:44 +08:00
1 parent cdead505b6
commit 4b9a8c2681
1 file changed
+2 -2
+2 -2
View File
@@ -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";