MySQL FORMAT() Function

Format(X,D[,locale]) is a Sring function of MySQL. This method formats the number X to round of D decimal place

Syntax

Example 1

Output:


MySQL String FORMAT() Function

Example 2

Output:


MySQL String FORMAT() Function

Example 3

Output:


MySQL String FORMAT() Function
Next TopicMySQL String




Latest Courses