- From: Howard Katz <howardk@fatdog.com>
- Date: Tue, 19 Apr 2005 14:30:43 -0700
- To: "Eric Prud'hommeaux" <eric@w3.org>, "Seaborne, Andy" <andy.seaborne@hp.com>
- Cc: "RDF Data Access Working Group" <public-rdf-dawg@w3.org>
> -----Original Message-----
> From: Howard Katz [mailto:howardk@fatdog.com]
> Sent: Tuesday, April 19, 2005 2:22 PM
> To: Eric Prud'hommeaux; Seaborne, Andy
> Cc: RDF Data Access Working Group
> Subject: RE: Notes on value testing 11.1
[snip ... ]
> The text now reads (1.312): "For example, "7"^^xs:decimal +
> "6.5"^^xs:float would call op:numeric-add("7"^^xs:float,
> "6.5"^^xs:float)." If you change the parameters to the method call to
>
> op:numeric-add( xs:float(7), "6.5"^^xs:float )
>
> the example would perhaps give a better hint of the dynamic
> nature of the casting that's being done to convert the first
> argument to float.
Looking at it once again ... This is probably more correct:
op:numeric-add( xs:float(7^^xs:decimal), "6.5"^^xs:float )
or even this (continuing from my question in the prior email):
op:numeric-add( xs:float(7.0^^xs:decimal), "6.5"^^xs:float )
Howard
Received on Tuesday, 19 April 2005 21:30:49 UTC