Quick Search:
 
 mySQL: Format numbers to two decimal places Jump to:  
Category: >> mySQL >> Format numbers to two decimal places  

<< lastnext >>

Snippet Name: Format numbers to two decimal places

Description: Formatting numbers to two decimal places with mySQL.

Comment: (none)

Language: MYSQL
Highlight Mode: MYSQL
Last Modified: March 01st, 2009

SELECT name, score, FORMAT(score,2) 
FROM games WHERE id <= 10


 
   Home |    Search |    Code Library |    Sponsors |    Privacy |    Terms of Use |    Contact Us © 2003 - 2023 psoug.org