#DOCUMENTATION by cg
class: MeasurementValue class
comment/format in:
#examples
#value:minValue:maxValue:
--- a/MeasurementValue.st Thu Jun 29 15:05:47 2017 +0200
+++ b/MeasurementValue.st Sat Jul 01 19:33:33 2017 +0200
@@ -1,5 +1,3 @@
-"{ Encoding: utf8 }"
-
"
COPYRIGHT (c) 2007 by eXept Software AG
All Rights Reserved
@@ -67,7 +65,20 @@
examples
"
- Notice, how the errors accumulate...
+ Instance creation message in number:
+ [exBegin]
+ (10 +/- 1)
+ [exEnd]
+
+ arithmetic; notice, how the errors accumulate:
+ [exBegin]
+ (100 +/- 5) * 2
+ (100 +/- 5) * (100 +/- 10)
+ (100 +/- 5) + (100 +/- 10)
+ (100 +/- 5) - (100 +/- 10)
+ [exEnd]
+
+ again see, how the errors accumulate...
[exBegin]
|voltage current power|
@@ -119,8 +130,14 @@
"an order of magnitude error:
- MeasurementValue value:5 minValue:1 maxValue:10
+ MeasurementValue value:5 minValue:1 maxValue:10
+
+ 10 percent:
+
+ MeasurementValue value:10 minValue:9 maxValue:11
"
+
+ "Modified (comment): / 01-07-2017 / 19:28:32 / cg"
! !
!MeasurementValue class methodsFor:'constants'!