• 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, scale, and prototypes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: BigDecimal, scale, and prototypes


  • Subject: Re: BigDecimal, scale, and prototypes
  • From: T Worman <email@hidden>
  • Date: Fri, 15 Aug 2008 19:57:33 -0700


On Aug 15, 2008, at 4:23 PM, Lachlan Deck wrote:

On 16/08/2008, at 4:55 AM, Florijan Stamenkovic wrote:

This also accounts for the zero padding. Nice.

F

On Aug 15, 2008, at 14:34, Mike Schrag wrote:

EOF sets the scale when the values are fetched.
case FB_Decimal: {
if (obj instanceof BigDecimal) {
return ((BigDecimal) obj).setScale(eoattribute.scale(), BigDecimal.ROUND_HALF_UP).toString();
}


from fb plugin

Note: "from fb plugin" so don't rely on this for all plugins.

with regards,
--

Lachlan Deck

Exactly why I wasn't sure where the problem was for me. I thought it might be in the OpenBase plugin which is why I didn't take time to really research it -- yet. I've got a working app and some optimizations can wait. :-)


-----
Timothy Worman
Programmer/Analyst
Graduate School of Education and Information Studies
University of California Los Angeles

_______________________________________________
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, scale, and prototypes (From: Florijan Stamenkovic <email@hidden>)
 >Re: BigDecimal, scale, and prototypes (From: T Worman <email@hidden>)
 >Re: BigDecimal, scale, and prototypes (From: Florijan Stamenkovic <email@hidden>)
 >Re: BigDecimal, scale, and prototypes (From: Chuck Hill <email@hidden>)
 >Re: BigDecimal, scale, and prototypes (From: Mike Schrag <email@hidden>)
 >Re: BigDecimal, scale, and prototypes (From: Florijan Stamenkovic <email@hidden>)
 >Re: BigDecimal, scale, and prototypes (From: Lachlan Deck <email@hidden>)

  • Prev by Date: Re: sequential numbering across more instances
  • Next by Date: Entity Modeler Attribute prefix woes...
  • Previous by thread: Re: BigDecimal, scale, and prototypes
  • Next by thread: Re: BigDecimal, scale, and prototypes
  • Index(es):
    • Date
    • Thread