I am trying to convert some text values to numeric so that I can compare their absolute values.
Hopefully it is clearer. Le 16 sept. 2016 00:01, "A. Soroka" <[email protected]> a écrit : > https://stackoverflow.com/help/mcve > > What data are you using? What is the complete action you are exercising? > What results do you expect? What results do you get? > > --- > A. Soroka > The University of Virginia Library > > > On Sep 15, 2016, at 5:56 PM, lookman sanni <[email protected]> wrote: > > > > Hi all, > > > > I am trying to perform a filter in a SPARQL query, through the below > code: > > > > FILTER ( abs(xsd:float(?tAmount1)) = abs(xsd:float(?tAmount2)) ) > > > > The query is being parsed correctly, but I am not getting the expected > > result. Any clue why this would not convert and compare those amounts > > properly ? The amounts are formatted like this: "+8644,00". > > > > Thanks in advance for the help. > > > > -- > > Best Regards > > > > Lookman SANNI > >
