Reference for the BALTENSPERGER programming language, an art project of Stefan Baltensperger
| Name | Raechne_um() |
||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Examples | Feischtergroessi(400, 400); Komazahl value = 25; Komazahl m = Raechne_um(value, 0, 100, 0, Feischterbreiti); Chreis(m, 200, 10, 10); |
||||||||||
| Description | Re-maps a number from one range to another. In the example above,
the number '25' is converted from a value in the range 0..100 into
a value that ranges from the left edge (0) to the right edge (Feischterbreiti)
of the Bildschirm.
Numbers outside the range are not clamped to 0 and 1, because out-of-range values are often intentional and useful. |
||||||||||
| Syntax | Raechne_um(value, low1, high1, low2, high2) |
||||||||||
| Parameters |
|
||||||||||
| Usage | Web & Application | ||||||||||
| Related | skalier_uf_EIS() Zwueschewert() |

