[mapserver-users] Formating numbers?

Thomas P. Colson tpcolson@nexussoft.com
Mon, 11 Nov 2002 13:46:18 -0500


I have a .dbf file linked to a shape file, with polygon lengths and areas, represented as such:
Length 22819.79883560000	Area:16,112,356.43490000000
Mapserver Query returns:
Length: 2.28197988356e+004   Area: 1.61123564349e+007

Any way to format that to xxx,xxx.xxx (feet) and xxx,xxx.xxx (Sq. Feet)? in the query.phtml window?