Which version of MarkLogic are you running exactly? I am running 6.0-1.1 on win7 and get (72, 72, 72) as response..
Kind regards, Geert *Van:* [email protected] [mailto: [email protected]] *Namens *Alex Milowski *Verzonden:* dinsdag 19 maart 2013 23:09 *Aan:* General Mark Logic Developer Discussion *Onderwerp:* [MarkLogic Dev General] Simple Math Issue In my Mathematical mind, the following expression: (180 div 2.5, 180 div xs:float(2.5), 180 div xs:double(2.5)) should yeild: (72, 72, 72) as the correct answer, mathematically speaking, is 72. MarkLogic 6 seems to think it is: (71.99999999999999601, 72, 72) which leads me to believe this is a xs:decimal issue. -- --Alex Milowski "The excellence of grammar as a guide is proportional to the paucity of the inflexions, i.e. to the degree of analysis effected by the language considered." Bertrand Russell in a footnote of Principles of Mathematics
_______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
