What would be the easiest way to get back only the meaningful digits ofa numeric value in a pgsql function? eg?
1.002 --> 1.0021.020 --> 1.021.200 --> 1.21.000 --> 1
ThanksSWK