Holger Knublauch

Type casting to xsd:decimal to avoid rounding errors

...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
22 <http://www.reportinghub.no/ep/spin/ddr-tables> 22 <http://www.reportinghub.no/ep/spin/ddr-tables>
23 rdf:type owl:Ontology ; 23 rdf:type owl:Ontology ;
24 rdfs:comment "A collection of SELECT templates that can be used to assemble tables in DD reports."^^xsd:string ; 24 rdfs:comment "A collection of SELECT templates that can be used to assemble tables in DD reports."^^xsd:string ;
25 - 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> ; 25 + 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> ;
26 owl:versionInfo "0.1.0"^^xsd:string . 26 owl:versionInfo "0.1.0"^^xsd:string .
27 27
28 ddr-tables:BitRecord 28 ddr-tables:BitRecord
...@@ -3314,13 +3314,11 @@ ddr-tables:Operations ...@@ -3314,13 +3314,11 @@ ddr-tables:Operations
3314 ] [ rdf:type sp:Bind ; 3314 ] [ rdf:type sp:Bind ;
3315 sp:expression 3315 sp:expression
3316 [ rdf:type sp:sub ; 3316 [ rdf:type sp:sub ;
3317 - sp:arg1 [ rdf:type spif:cast ; 3317 + sp:arg1 [ rdf:type xsd:decimal ;
3318 - arg:datatype xsd:float ;
3319 sp:arg1 [ sp:varName "endDepth2"^^xsd:string 3318 sp:arg1 [ sp:varName "endDepth2"^^xsd:string
3320 ] 3319 ]
3321 ] ; 3320 ] ;
3322 - sp:arg2 [ rdf:type spif:cast ; 3321 + sp:arg2 [ rdf:type xsd:decimal ;
3323 - arg:datatype xsd:float ;
3324 sp:arg1 [ sp:varName "startDepth2"^^xsd:string 3322 sp:arg1 [ sp:varName "startDepth2"^^xsd:string
3325 ] 3323 ]
3326 ] 3324 ]
......