sprintf « Development « PHP






1.Type Specifiers for printf() and sprintf()
2.sprintf %0.2f
3.sprintf: Regards the string an integer and formats it as a binary number
4.sprintf: Considers the string an integer and formats it with that ASCII value
5.sprintf: Considers the string an integer and formats it as a decimal number