FHIR Chat · FhirDecimal Precision · dotnet

Stream: dotnet

Topic: FhirDecimal Precision


view this post on Zulip Timo Rosenblatt (Apr 20 2021 at 14:07):

Am I able to set a FhirDecimal value with fixed precision?
I have to export the VAT rate with a precision of two, but the class cuts off the trailing .00

priceComponent.SetExtension("http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-MwStSatz", new FhirDecimal(value))
doesn't work in my case

view this post on Zulip Timo Rosenblatt (Apr 21 2021 at 06:25):

I've just got to get the correct decimal value to begin with


Last updated: Apr 12 2022 at 19:14 UTC