Jump to content


Photo

string formatting


  • Please log in to reply
1 reply to this topic

#1 natalieG

natalieG
  • Members
  • PipPipPip
  • Advanced Member
  • 63 posts

Posted 29 April 2006 - 03:25 PM

We want toi format a string so it has currency format [in English] so that
7987 is pronetd as $7,987

Thanks,

Jebbifer

#2 wildteen88

wildteen88
  • Staff Alumni
  • Advanced Member
  • 10,482 posts
  • LocationUK, Bournemouth

Posted 29 April 2006 - 03:46 PM

You want to use number_format then assign the $ in front of the number manually




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users