Calculating a number?

Dom mcdomi at free.fr
Mon Mar 28 04:32:38 EST 2005


Richard Gaskin <ambassador at fourthworld.com> wrote:

> put fld 1 + fld 2 into fld 3

I have some custom budget stacks -- one field "lechamp" for details, one
by line, and one field "letotal" for the... total!

  put fld lechamp into montants
  replace return with comma in montants
  put format("%3.2f",sum(montants)) into fld letotal

* in fact, "lechamp" and "letotal" are variables

-- 



More information about the use-livecode mailing list