the question about round, truncate - Mailing list pgsql-admin

From Hyung Joo Lee
Subject the question about round, truncate
Date
Msg-id 3E94D039A2B82544B3E7D48F924B0B255D0F7EB13C@base.imrc.kist.re.kr
Whole thread Raw
Responses Re: the question about round, truncate
List pgsql-admin

Dear all.

 

I have a question about round, truncate.

 

I want to   fix the data like 3-digit decimal after being rounded on 4-digit decimal.

 

Ex. Geometryformat(‘linestring((54.11238742 22.023498293, 35.128937123 94.129837123))’,-1);

     -------> #######(‘linestring((54.112 22.023, 35.129 94.130))’,-1);

 

What should I do?

 

I want to use the round, truncate command.

 

I’m sorry my English is poor.

 

 

Best regards and thanks in advance.

 

Kevin.

pgsql-admin by date:

Previous
From: Achilleas Mantzios
Date:
Subject: Re: Issues with LC_COLLATE, across 8.3/8.4 on various platforms
Next
From: Ian Lea
Date:
Subject: Re: the question about round, truncate