Skip to content

Commit 589348f

Browse files
pchampingkellogg
authored andcommitted
proposed note to address #318
1 parent 2e97451 commit 589348f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

index.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13240,6 +13240,13 @@ <h4>Conversion of native data types</h4>
1324013240
-->
1324113241
</pre>
1324213242

13243+
<div class="note">Note that this interpretation differs from [[Turtle]],
13244+
in which the literal `2.78` translates to an `xsd:decimal`.
13245+
The rationale is that most JSON tools parse numbers with fractions as
13246+
<em>floating point numbers</em>,
13247+
so `xsd:double` is the most appropriate datatype to render them back in RDF.
13248+
</div>
13249+
1324313250
</section>
1324413251

1324513252
<section>

0 commit comments

Comments
 (0)