Hey Charles that actually works pretty well. I did notice that a negative number would format something like $-5.21. Is that normal? Looks odd to me.
Bob On Aug 9, 2011, at 12:08 PM, Charles Szasz wrote: > I found the following to work just as well for fields without using functions: > > on closeField > if me <> empty > then > put me into tNum > put format("$%1.2f", tNum) into me > end if > end CloseField > > > Charles Szasz > csz...@mac.com > > > > > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode