Browse Source

Update documentation

David Peter 2 years ago
parent
commit
639bd34907
1 changed files with 2 additions and 0 deletions
  1. 2 0
      book/src/procedures.md

+ 2 - 0
book/src/procedures.md

@@ -20,6 +20,8 @@ print("A football field would fit on a sphere of radius {radius}")
 You can use almost every expression inside a string interpolation field. For example:
 
 ```nbt
+print("3² + 4² = {hypot2(3, 4)}²")
+
 let speed = 25 km/h
 print("Speed of the bicycle: {speed} ({speed -> mph})")
 ```