Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
次の形式の番号があります12.25564mysqlのフィールドの形式はDECIMAL(12,5)です。このテーブルからファイルをエクスポートしたいのですが、この10進数の形式は12.26です。SELECTでMySQLを使用してこの数値をフォーマットするにはどうすればよいですか?前もって感謝します !
MySqlRoundメソッドを使用できます。
SELECT ROUND(12.25564、2)