liaoxin01 commented on issue #9208:
URL: 
https://github.com/apache/incubator-doris/issues/9208#issuecomment-1118246943

   > We encountered a problem of precision cast in our scenario, for example: 
_**sql**_
   > 
   > ```
   > select cast(1.233333 as decimal(5,2));
   > ```
   > 
   > _**result**_
   > 
   > ```
   > 1.233333
   > ```
   > 
   > _**expect result**_
   > 
   > ```
   > 1.23
   > ```
   > 
   > It's better to implement that as well :)
   
   Good suggestion. I'll consider implementing it.


-- 
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: commits-unsubscr...@doris.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to