Zkplo opened a new issue, #11238:
URL: https://github.com/apache/inlong/issues/11238

   ### Description
   
   - parent issue #10796 
   - MySql Official Description: 
https://dev.mysql.com/doc/refman/8.4/en/string-functions.html#function_format
   
   FORMAT(X,D): Formats the number X to a format like '#,###,###.##', rounded 
to D decimal places, and returns the result as a string. If D is 0, the result 
has no decimal point or fractional part. If X or D is NULL, the function 
returns NULL.
   
   ### Use case
   
   ```sql
   FORMAT(12332.123456, 4); -> '12,332.1235'
   FORMAT(12332.1,4);       -> '12,332.1000'
   FORMAT(12332.2,0);       -> '12,332'
   ````
   
   ### Are you willing to submit PR?
   
   - [X] Yes, I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@inlong.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to