BigD Posted August 10, 2012 Share Posted August 10, 2012 I want to post question with a .png attachment (184KB). I could not upload, it says I used up my upload quota. Yes I had uploaded 423KB before. How do I upload now? 500KB upload limit seems is too small. Link to comment Share on other sites More sharing options...
niche Posted August 10, 2012 Share Posted August 10, 2012 I don't know what the answer is , but can you post your question without the png or link your question to the png? Link to comment Share on other sites More sharing options...
BigD Posted August 10, 2012 Author Share Posted August 10, 2012 Used 423.55K of your 500K global upload quota (Max. single file size: 76.45K)I would like to hear from forum moderator what does this mean? how can it be reset? My original question is: I echoed a variable as $xx.xx, subtracted some variable from it and echoed it again. now it dropped digits after decimal points and displaied as $xx. Why? Link to comment Share on other sites More sharing options...
BigD Posted August 10, 2012 Author Share Posted August 10, 2012 Here is the screen shot of web page and php code. Link to comment Share on other sites More sharing options...
thescientist Posted August 10, 2012 Share Posted August 10, 2012 where in your code are you showing us how your calculation are being done? Link to comment Share on other sites More sharing options...
justsomeguy Posted August 10, 2012 Share Posted August 10, 2012 You can delete attachments you've uploaded if you edit your profile, there is a menu on the left where you can see your attachments. Link to comment Share on other sites More sharing options...
BigD Posted August 11, 2012 Author Share Posted August 11, 2012 Thanks Moderator. I deleted previous attachment. if that made attachments disappear in previous post, it should be separated from uploads and uploads should be automatically deleted. Just my 2 cents opinion. To the other friend responded, the calculation is this line $bal = $bal - $payment. I echoed it before and after. the display format changed. It should show in attachment. Link to comment Share on other sites More sharing options...
niche Posted August 11, 2012 Share Posted August 11, 2012 (edited) Use number_format(). http://www.w3schools.com/php/func_string_number_format.asp Edited August 11, 2012 by niche Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now