Re: notes from Presentation Syntax task force meeting

>    -- Regarding literals like 123.456, we'll require a suffix to tell us
>       which datatype to use:

As I just mentioned in the telecon I suggest to follow Turtle:

>           123.456d ==> "123.456"^^<xs:decimal>  

123.456 ==> "123.456"^^<xs:decimal>

>           123.456e ==> "123.456"^^<xs:double>   (as in Java/C)

123.456e0 ==> "123.456"^^<xs:double>

>           123.456f ==> "123.456"^^<xs:float>    (as in Java/C)

there is no shortcut syntax for floats.


Best, Jos

Received on Tuesday, 10 March 2009 16:44:05 UTC