Changes for page Интерфейс calc

Last modified by Bimit Administrator on 24.06.2024, 10:04

From version 9.1
edited by Bimit Administrator
on 08.02.2022, 14:33
Change comment: There is no comment for this version
To version 7.1
edited by Bimit Administrator
on 08.02.2022, 14:30
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -8,29 +8,37 @@
8 8  
9 9  Примеры использования:
10 10  
11 +**area**
12 +
11 11  {{code language="java"}}
12 -// area
14 +// Пример:
13 13  def area = calc.area(6,6)
14 14  
15 15  // console.info(area) -> “INFO: 36.0”
16 16  {{/code}}
17 17  
20 +**volume**
21 +
18 18  {{code language="java"}}
19 -// volume
23 +// Пример:
20 20  def vol= calc.volume(6,0.5,3)
21 21  
22 22  // console.info(vol) -> “INFO: 9.0”
23 23  {{/code}}
24 24  
29 +**areaBox**
30 +
25 25  {{code language="java"}}
26 -// areaBox
32 +// Пример:
27 27  def area = calc.areaBox(6,6,3)
28 28  
29 29  // console.info(area) -> “INFO: 72.0”
30 30  {{/code}}
31 31  
38 +**volumeBox**
39 +
32 32  {{code language="java"}}
33 -// volumeBox
41 +// Пример:
34 34  def vol= calc.volumeBox(6,6,3,0.5)
35 35  
36 36  // console.info(vol) -> “INFO: 33.0”