• 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
Re: BigDecimal vs WOConditional
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: BigDecimal vs WOConditional


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

And a followup question...

On Feb 17, 2009, at 5:57 PM, Ondřej Čada wrote:

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.


... does anybody know some trick how to find in a medium-sized project (about 16000 .wod lines in total) all WOConditionals whose condition is a BigDecimal, and append ".signum" to the condition?

(The project's Xcode, so I can use its regexp search&replace, or of course some external sed-based script... but I see no way to find the BigDecimal conditions only :( )

Thanks a lot for any ideas...
---
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


References: 
 >BigDecimal vs WOConditional (From: Ondřej Čada <email@hidden>)

  • Prev by Date: BigDecimal vs WOConditional
  • Next by Date: Re: BigDecimal vs WOConditional
  • Previous by thread: BigDecimal vs WOConditional
  • Next by thread: Re: BigDecimal vs WOConditional
  • Index(es):
    • Date
    • Thread