That doesn't work.
What does self.Record.amount refer to? I am thinking it's not referring to
anything here maybe?
________________________________________
From: [email protected] [[email protected]] on behalf of
Ed Leafe [[email protected]]
Sent: Wednesday, April 25, 2012 3:19 PM
To: Dabo Users list
Subject: Re: [dabo-users] Precision Value in Grid Column
On Apr 25, 2012, at 2:11 PM, RUSSELL Thomas wrote:
> The code compiles and runs but does not give me the 4 point precision I am
> looking for.
Perhaps it is the formatting in your function? You have:
def getDisplayAmount(self):
return "%.4D" % self.Record.amount
Try changing it to
def getDisplayAmount(self):
return "%.4f" % self.Record.amount
-- Ed Leafe
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message:
http://leafe.com/archives/byMID/[email protected]
________________________________
CONFIDENTIALITY : This e-mail and any attachments are confidential and may be
privileged. If you are not a named recipient, please notify the sender
immediately and do not disclose the contents to another person, use it for any
purpose or store or copy the information in any medium.
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message:
http://leafe.com/archives/byMID/3eb5c64f2911f841a886ac1d5ea8c356ba7...@041-db3mpn1-023.041d.mgd.msft.net