I wouldn't alter the Text objects in the drawing in order to add them up, as suggested in Message 4. You can leave them alone [other than to select them], if you build the proper alteration into the code for a routine. If you pull the text string content from such a Text object in a selection set, you can apply this to it to make it usable in an addition:
(atof (vl-string-right-trim "'" (vl-string-subst "" "," "12,345.67'")))
which returns the number that can be put into a list for addition, or just added to an accumulating total:
12345.7
[Of course that would use a variable that the text string content is put in, not the specific value above. And don't worry about the .67 vs. .7 -- it actually knows it's .67, and the .7 is just in display.]
A routine could be made to restrict your selection to Text objects that end with a foot mark, or with a decimal point plus two numerical characters plus a foot mark, etc, depending on whether such characteristic vary and how responsible you want to be to select the right kinds of things. It could even find all qualifying objects for you, without User selection, if you can rely on them to all have the right characteristics, and on there being no qualifying other objects that you don't want selected.
Kent Cooper, AIA