From 4b9a8c2681a0d417714aaff338ba2e1ca3efff43 Mon Sep 17 00:00:00 2001 From: Apin <81305669+qjksxy@users.noreply.github.com> Date: Wed, 24 Jul 2024 21:06:44 +0800 Subject: [PATCH] doc: update dart.md fix spelling mistakes in Dart note --- source/_posts/dart.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/_posts/dart.md b/source/_posts/dart.md index ab11327..2ddd7df 100644 --- a/source/_posts/dart.md +++ b/source/_posts/dart.md @@ -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";