Hello everyone, I have the current integer:
$memberpoints
Say one user has 120 as their
how would I go about showing that number as $1.20 instead of 120?
Thanks in advance
Really?
echo '$'.($memberPoints/100);
That didn't work, before it showed as 120 now it shows as $0.
Did you just blindly copy paste without noticing that my variable was camel cased and your's is just all lowercase?
Cheers for the help, didn't notice that. Didn't realise I had come on here to be challenged about my PHP knowledge. I'm editing a script, I have very little knowledge of PHP.
Sorry about that, I didn't even notice yours was lowercase until I came back. Glad its working.