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

Last modified by Bimit Administrator on 24.06.2024, 10:04

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

Summary

Details

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