• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
BigDecimal vs WOConditional
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

BigDecimal vs WOConditional


  • Subject: BigDecimal vs WOConditional
  • From: Ondřej Čada <email@hidden>
  • Date: Tue, 17 Feb 2009 17:57:20 +0100

Just bumped into a ugly thing: a WOConditional considers a BigDecimal 'false' for values < 1 -- self-evidently, it checks an integer value of the thing.

Just for reference, is that my fault or WO fault? To be quite frank, I cannot find in specifications the exact API contract for this... I've always thought the C rules apply there (i.e., for any numeric value, nonzero equals true), but quite clearly they do not :(

Thanks,
---
Ondra Čada
OCSoftware:     email@hidden               http://www.ocs.cz
private         email@hidden             http://www.ocs.cz/oc



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: BigDecimal vs WOConditional
      • From: Stamenkovic Florijan <email@hidden>
    • Re: BigDecimal vs WOConditional
      • From: Ken Anderson <email@hidden>
    • Re: BigDecimal vs WOConditional
      • From: Ondřej Čada <email@hidden>
  • Prev by Date: Re: JDBC URL on a per session basis
  • Next by Date: Re: BigDecimal vs WOConditional
  • Previous by thread: Re: Embedding wo: elements within eachother
  • Next by thread: Re: BigDecimal vs WOConditional
  • Index(es):
    • Date
    • Thread