Use the $bytes identifer with the bd option.
b keeps bytes so it doesn't divide by 1000 or 1024
d keep the decimal part

example: 100000000.345

//echo $bytes(100000000.345,bd)
answer: 100,000,000.345