Jump to content

[SOLVED] multiply/add values in array...


giraffemedia

Recommended Posts

Hi

 

can anyone help me format this array. I've got...

 

7, 8.4 | 11, 8.4 | 7, 8.4 | 16, 8.4 | 18, 12.6

 

So that it reads (7 x 8.4) + (11 x 8.4) + (7 x 8.4) + (16 x 8.4) + (18 x 12.6) and then add the total (presumably using array_sum)

 

I'm in desperate need to get this done so any help would be great!

 

Thanks

 

James

Link to comment
https://forums.phpfreaks.com/topic/122383-solved-multiplyadd-values-in-array/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.