feature request #4499
Implement fields for typical StatisticalMeasurementValues
To simplify the handling of quantitative data we may want to add concrete fields for min, max, average, sampleSize, typicalLowerBoundary, typicalUpperBoundary, variance, standardDeviation.
Maybe we also want singleValue (instead of average and sampleSize = 1
Only modifiers will not be available anymore. Are they needed? If yes, do we need them for each field or for
see also #2334
#1 Updated by Andreas Müller almost 6 years ago
One problem that arises is the correct use of numbers in Java, Hibernate + DB. For correct rounding etc. we should better use BigDecimal rather than Double.
However, BigDecimal is stored as Numeric(PRECISION,SCALE) with a fixed SCALE value. To allow different Scaling per record we may want to implement a BigDecimalUserType. This can be found at https://bitbucket.org/ratkins/bigdecimalusertype/.
Alternatively we may use UserType with String representation !! But this may not allow Database computations on values.