NumberFormat

liamlambert liamlambert at mac.com
Tue Jan 17 11:44:53 EST 2006


Hi all
I am calling a col total from a data Base  and not getting the right  
format
Say the Total is 100.50
I am getting 100.5

this is the code



set the numberFormat to "00.00"
get fld "showid"
put it into tshowid
  put "SELECT sum (total) FROM showDb where showid = '"& tshowid &  
"'" into tTotal
  put revdb_querylist(,,gConID,tTotal) into tFinalTotal
  put tFinalTotal into fld "FinalTotal"

Thank's
Liam Lambert
liamlambert at mac.com
IRELAND





More information about the use-livecode mailing list