Comparing Values - InfoPath Dev
in

InfoPath Dev

Comparing Values

Last post 05-19-2009 07:52 AM by swathip. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 05-14-2009 12:13 PM

    Comparing Values

    Alright, so I've got a repeating table with a bunch of values in it, and I am judging to see if one value is between two boundary values.  Most of the time this works, but whenever I am comparing the boundary values have their greatest value in a different place (tens, hundreths) the comparison fails regardless of when the entry value is.  For example, if I am comparing 99.98 to see if it is between 99.97 and 99.99, it will pass, but it will fail if I am comparing it to 99.97 and 100.  I have my data being stored in SQLServer, and I've tried varchar, decimal, and float datatypes, but all result the same way.  Any advice is helpful, thanks.

     

    Stimpson

    Filed under: ,
  • 05-19-2009 07:52 AM In reply to

    Hello and welcome to forums,

    Once try by converting those values to numbers using number() function. I have tried using number function and it is working fine.

    Swathip
    www.ggktech.com
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.