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]