Jump to content

quillspirit

Members
  • Posts

    33
  • Joined

  • Last visited

    Never

About quillspirit

  • Birthday 04/05/1979

Contact Methods

  • Website URL
    http://www.quillspirit.net

Profile Information

  • Gender
    Male
  • Location
    Oregon, USA

quillspirit's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Took me a while, but now this is solved: To remove the separator commas from the output, if $x > 999 (so you can continue using $x for calculations): $x=number_format($x, 2, '.', '');
  2. Problem... it is inserting commas for thousands - 123,456,789.00 breaking my calculations.
  3. Excellent - shoulda known it would be that simple. It usually is.
  4. I forgot to mention... sometimes $x is already fine at 123.45
  5. Ok, so I have variable $x = "123.395"; I use $x = round($x, 2); and come up with: All is fine up to this point, except what I need to do is show that as a dollar value (for shopping cart)... so I want to show the missing placeholder 0 for 1/100ths. I don't want a comma for 1,000.00 and do not want a $ sign to display... so I don't think money_format() is what I need. The end result for $x needs to be: Thanks.
  6. Thanks guys. A session_start(); helps too, lol.
  7. Anyone have a snipping of code to echo all data stored in the current $_SESSION ? I'm a little lost in my own scripting, and need to figure out what is all stored. Thanks
  8. This should be moved to .php help forum
  9. Awesome... thank you so much. Now I just need to clean some of the data and sort it for import. It looks like TextPad can run those expressions too, but I'm still lost, lol.
  10. Ok, got VIM downloaded and installed, and am completely and utterly lost. :0/
  11. Ok, I've never used VIM (I use TextPad), but I'll give it a shot.
  12. 80K products? Can I ask who the supplier is? Just curious.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.