mirror of
				https://github.com/postgres/postgres.git
				synced 2025-11-03 09:13:20 +03:00 
			
		
		
		
	doc: mention that to_char() values are rounded
Reported-by: barsikdacat@gmail.com Diagnosed-by: Laurenz Albe Discussion: https://postgr.es/m/168991536429.626.9957835774751337210@wrigleys.postgresql.org Author: Laurenz Albe Backpatch-through: 11
This commit is contained in:
		@@ -8505,6 +8505,14 @@ SELECT regexp_match('abc01234xyz', '(?:(.*?)(\d+)(.*)){1,1}');
 | 
				
			|||||||
      </para>
 | 
					      </para>
 | 
				
			||||||
     </listitem>
 | 
					     </listitem>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					     <listitem>
 | 
				
			||||||
 | 
					      <para>
 | 
				
			||||||
 | 
					       If the format provides fewer fractional digits than the number being
 | 
				
			||||||
 | 
					       formatted, <function>to_char()</function> will round the number to
 | 
				
			||||||
 | 
					       the specified number of fractional digits.
 | 
				
			||||||
 | 
					      </para>
 | 
				
			||||||
 | 
					     </listitem>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
     <listitem>
 | 
					     <listitem>
 | 
				
			||||||
      <para>
 | 
					      <para>
 | 
				
			||||||
       The pattern characters <literal>S</literal>, <literal>L</literal>, <literal>D</literal>,
 | 
					       The pattern characters <literal>S</literal>, <literal>L</literal>, <literal>D</literal>,
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user