Does anyone know how to format a string in PHP like you can in VB?
Format ("16250", "0,000")
would return 16,250 in VB, but can't figure out the printf function in PHP.
Thanks
Printable View
Does anyone know how to format a string in PHP like you can in VB?
Format ("16250", "0,000")
would return 16,250 in VB, but can't figure out the printf function in PHP.
Thanks
n/m. I found the number_format function on the PHP site. Just had to try a different search query.