Javatpoint Logo
Javatpoint Logo

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




Help Others, Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA