Ruby Price format... (Noob)


#1

I’ve never had much luck with sprintf…

I can format a price descently enough with sprintf("$%0.2f",price) but
for large values this only gives me $2500.00

I need the comma precision of $2,500.00… so how can I get that?


#2

Never mind… number_to_currency… such a noob.