Formatting Column of Times
Dom
mcdomi at free.fr
Wed Sep 7 08:17:32 EDT 2005
Stephen Barncard <stephenREVOLUTION at barncard.com> wrote:
> Thanks Ken and Alex. I'm having a hard time with the notation -it's
> not 'speaking' to me yet. These examples really help, as the docs are
> skimpy with examples.
another example: to make the sum of a field, and to yield a formatted
result:
on closefield
put the short name of the target into tfield
replace comma with "." in fld tfield
-- european currency delimiter ;-)
put fld tfield into montants
replace return with comma in montants
put "S" & tfield into ttotal
put format("%3.2f",sum(montants)) into fld ttotal
end closefield
--
Revolutionario
More information about the use-livecode
mailing list