Stream: fhirpath
Topic: Decimal range
Paul Lynch (Sep 24 2018 at 17:55):
I think something has gone wrong with the formatting of the numbers for the range of values of Decimal (http://hl7.org/fhirpath/2018Sep/, section 4.1.4). For example, the upper end of the range is said to be 10^{28-10}-8 (i.e., eight less than 10 to the 18th power). What is it supposed to be?
Bryn Rhodes (Sep 24 2018 at 18:17):
Yes, I submitted that as a comment to fix that formatting. It's supposed to be: (-10^28 + 1)/10^8 to (10^28 - 1)/10^8 with a step size of 10^-8
Bryn Rhodes (Sep 24 2018 at 18:17):
So a decimal with 28 digits of precision and 8 digits of scale.
Paul Lynch (Sep 24 2018 at 18:32):
Thanks-- I think that answers both of my questions.
Last updated: Apr 12 2022 at 19:14 UTC