C-Sharp | Java | Python | Swift | GO | WPF | Ruby | Scala | F# | JavaScript | SQL | PHP | Angular | HTML
MySQL FORMAT() FunctionFormat(X,D[,locale]) is a Sring function of MySQL. This method formats the number X to round of D decimal place Syntaxselect format(X,D[locale]); Example 1select format(12345.6789,3); Output: Example 2select format(7895.563,3); Output: Example 3select format(4539.235,2); Output:
Next TopicMySQL String
|