blob: 10eac240263b9470d6cf1e0ebf8d617b469cf514 [file] [log] [blame]
Zesstra18626972017-01-31 10:38:27 +01001SetGramsPerUnits()
2==================
3
4FUNKTION
5--------
6::
7
8 void SetGramsPerUnits(int grams, int units);
9
10DEFINIERT IN
11------------
12::
13
14 /std/unit.c
15
16ARGUMENTE
17---------
18::
19
20 grams
21 Gewicht in Gramm
22 units
23 Zahl der Einheiten
24
25BESCHREIBUNG
26------------
27::
28
29 Es wird festgelegt, wieviel eine bestimmte Menge der Einheiten wiegt.
30 Eine einzelne Einheit wiegt grams/units Gramm.
31
32RUeCKGABEWERT
33-------------
34::
35
36 keiner
37
38BEISPIELE
39---------
40::
41
42 Vier Einheiten sollen 3 Gramm wiegen:
43
44 SetGramsPerUnits(3,4);
45
46SIEHE AUCH
47----------
48::
49
50 SetCoinsPerUnits(), QueryCoinsPerUnits(), QueryGramsPerUnits(),
51 /std/unit.c
52
53
54Last modified: Wed May 8 10:25:09 1996 by Wargon
55