0

I have number with folowing format 12.25564 The format on field in mysql is DECIMAL(12,5). I want to export file from this table and the format on this decimal number is 12.26. How can I formated this number with MySQL in SELECT ? Thanks in advance !

1 Answer 1

3

You can use the MySql Round Method:

SELECT ROUND(12.25564, 2)

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.