Holger Knublauch

Type casting to xsd:decimal to avoid rounding errors

......@@ -22,7 +22,7 @@
<http://www.reportinghub.no/ep/spin/ddr-tables>
rdf:type owl:Ontology ;
rdfs:comment "A collection of SELECT templates that can be used to assemble tables in DD reports."^^xsd:string ;
owl:imports <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/spin/rh> , <http://www.reportinghub.no/ep/schema/1.0/activity-purpose> , <http://spinrdf.org/spin> ;
owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/activity-purpose> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/spin/rh> ;
owl:versionInfo "0.1.0"^^xsd:string .
ddr-tables:BitRecord
......@@ -3314,13 +3314,11 @@ ddr-tables:Operations
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:sub ;
sp:arg1 [ rdf:type spif:cast ;
arg:datatype xsd:float ;
sp:arg1 [ rdf:type xsd:decimal ;
sp:arg1 [ sp:varName "endDepth2"^^xsd:string
]
] ;
sp:arg2 [ rdf:type spif:cast ;
arg:datatype xsd:float ;
sp:arg2 [ rdf:type xsd:decimal ;
sp:arg1 [ sp:varName "startDepth2"^^xsd:string
]
]
......