Search found 2 matches
- Mon Sep 28, 2009 9:11 pm
- Forum: PHP - Code
- Topic: understanding dollar amount code
- Replies: 2
- Views: 81
Re: understanding dollar amount code
oh ok, thanks for your input, and the helpful link.
- Mon Sep 28, 2009 8:21 pm
- Forum: PHP - Code
- Topic: understanding dollar amount code
- Replies: 2
- Views: 81
understanding dollar amount code
Hi, im just starting off learning PHP, and stumbled up on this line of code. Any feedback most appreciated. Dollar amount Code $price =25; $f_price = sprintf("%01.2f",$price); echo "$fprice"; I understand this code is correct, but Im just having trouble comprehending it. I would ...