[mapserver-users] Formating numbers?

Thomas P. Colson tpcolson at nexussoft.com
Mon Nov 11 10:46:18 PST 2002


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?





More information about the MapServer-users mailing list