Re: Why doesn't working with array's ever stick in my thick head?
| From: | tedd | Date: | Fri, 09 May 2008 17:38:31 +0000 |
| Subject: | Re: Why doesn't working with array's ever stick in my thick head? | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-274091@lists.php.net to get a copy of this message | ||
At 1:29 PM -0400 5/9/08, Jason Pruim wrote:
Hey tedd On May 9, 2008, at 1:21 PM, tedd wrote:Well, that explains it. Now, it's Friday for me. You know, if you take the total weight and divide that by the number of gorillas per lamp-pole you'll go back in time. I'm totally lost. Sorry I couldn't be more help. Cheers, tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.comAt 12:56 PM -0400 5/9/08, Jason Pruim wrote:It's actually for a weight calculator that we use for some of our mailings. when you take .226 and multiply that by 464 you get 104.864 ounces. I need to be able to display that as: 6 # 13.824 Ounces.Hi Everyone, SO it's friday, I'm tired, and I can't seem to think straight... I am attempting to do some very basic math with some arrays... Here's the pseudo code that I'm working with: NumberOfPieces * PieceWeight = TotalWeight explode total weight to get tenth's of pounds, then divide tenth's of pounds by 16 to grab ounces.What?? Why do you want tenth's of pounds? Just divide pounds by 16 and you'll get ounces.