RE: Notes on value testing 11.1

 > -----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