: Public <<type>> Class
Created: |
23.5.2022 18.05.04 |
Modified: |
1.8.2022 13.54.03 |
|
Project: |
|
Author: |
Marko Kauppi |
Version: |
2005 |
Phase: |
IS |
Status: |
Superseeded |
Complexity: |
Medium |
Difficulty: |
|
Priority: |
|
Multiplicity: |
|
Advanced: |
|
UUID: |
{E5917582-DA2A-4f87-8911-F25DC8292C83} |
Appears In: |
Context Diagram: UnitOfMeasure, Context Diagram: Number, Context Diagram: Real, Numerics, Context Diagram: Probablility, Context Diagram: Clothoid, Context Diagram: Knot, Context Diagram: GM_ArcStringByBulge, Context Diagram: GM_Clothoid, Context Diagram: GM_Conic, Context Diagram: GM_Knot |
The common binary Real finite implementation using base 2. Since such reals can approximate any measure where absolute accuracy is not possible, this form of numeric is most often used for measures. In cases were absolute accuracy is needed, such as currencies, then a decimal representation may be preferred (assuming the currency is decimal, such as the US dollar, British pound, etc.). Where there are no subunits possible, Integer numbers may be preferred. <br/><br/>Can be thought of as an integer part followed by a fractional part given in multiples of powers of 1/2 (halves).<br/>
- Operations
- Tagged Values
- Advanced
- Other Links
Operation |
Public
absoluteValue():Real
|
 Details:
Sequential
Notes:
|
The positive (or non-negative) real having the same magnitude as the source,<br/>
|
|
Public
asDecimal( length: Integer,
Default: |
|
Kind: |
inout |
Stereotype: |
|
|
|
):Decimal
|
 Details:
|
Public
floor():Integer
|
 Details:
Sequential
Notes:
|
Round Down to the Nearest Integer<br/>
|
|
Tag |
Value |
persistence |
persistent |
 Details:
|
Property |
Value |
isFinalSpecialization: |
0 |
Object |
Type |
Connection |
Direction |
Notes |
«type» Number |
Class |
Generalization |
To |
|