Home » MySQL String FORMAT() Function

MySQL String FORMAT() Function

by Online Tutorials Library

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

You may also like