dplittle
04-29-02, 14:55
| I need to make sure that numbers returned form a SELECT have at least one digit before the decimal point. Right now I have the following SQL statement in a DTS SELECT PIN, ROUND (SUM(AREA/43560), 2) AS Expr1 FROM table GROUP BY PIN ORDER BY PIN This produces lines like this ... 1-0005 -01-001,6250.410000 1-0008 -01-001,940.810000 1-0010 -01-001,9.230000 1-0010 -01-001A,.730000 1-0010 -01-002,73.520000 1-0010 -01-003,.680000 I need the output to look like this (check lines 4 and 6) ... 1-0005 -01-001,6250.410000 1-0008 -01-001,940.810000 1-0010 -01-001,9.230000 1-0010 -01-001A,0.730000 1-0010 -01-002,73.520000 1-0010 -01-003,0.680000 Any ideas? David |