Java

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • Numeric comparisons?

    2 answers - 281 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    Anyone know of a way in which to do numeric comparisons? For instance
    something like:
    if a b
    Certainly one can compare for equality in terms of stringsbut I
    didn't notice anything that would allow me to do some form of comparison
    Thanks!
    Scot
  • No.1 | | 446 bytes | |

    6/14/06, Scot P. Floess <floess (AT) mindspring (DOT) comwrote:
    Anyone know of a way in which to do numeric comparisons? For instance
    something like:

    if a b

    Ant-Contrib's <math>?

    I'd use a <scriptmyself. Not everything should be a task IMH

    To unsubscribe, e-mail: user-unsubscribe (AT) ant (DOT) apache.org
    For additional commands, e-mail: user-help (AT) ant (DOT) apache.org
  • No.2 | | 615 bytes | |

    I came up with a solution using <math- I just didn't want to be too
    hasty in using that solution assuming I overlooked something. The
    <mathsolution was very trivial ;)

    Thanks :)

    Scot

    Dominique Devienne wrote:
    6/14/06, Scot P. Floess <floess (AT) mindspring (DOT) comwrote:
    >Anyone know of a way in which to do numeric comparisons? For instance
    >something like:
    >>

    >if a b
    >

    Ant-Contrib's <math>?

    I'd use a <scriptmyself. Not everything should be a task IMH

Re: Numeric comparisons?


max 4000 letters.
Your nickname that display:
In order to stop the spam: 7 + 6 =
QUESTION ON "Java"

EMSDN.COM