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