PhysicalValues/en

Aus expecco Wiki (Version 2.x)
Version vom 25. Oktober 2019, 06:40 Uhr von Cg (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „Expecco supports values with units to represent physical values such as length, acceleration, area, volume, mass, temperature etc. Physical values are useful…“)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Zur Navigation springen Zur Suche springen

Expecco supports values with units to represent physical values such as length, acceleration, area, volume, mass, temperature etc.

Physical values are useful for a nicer presentation of values (eg. in a report) and to convert between unit systems (eg. metric vs. imperial vs. US).

Physical values are implemented by the underlying Smalltalk system and can be used in JavaScript and Smalltalk elementary blocks. Similar public domain packages are available for Node and Python actions - these have to be installed with "rpm"or "pip".

Mass[Bearbeiten]

The following operations return an instance of a mass (i.e. a value with a unit of "Mass"):

Length[Bearbeiten]

Area[Bearbeiten]

Volume[Bearbeiten]

Temperature[Bearbeiten]

Energy[Bearbeiten]

Power[Bearbeiten]

Density[Bearbeiten]



Copyright © 2014-2024 eXept Software AG