I have an array that looks like this:
["5763.34", "5500.00", "5541.67", "5541.67"]
I am looking to count similar values in the array and produce an output as follows:
(1 * 5763.34) + (1 * 5500.00) + (2 * 5541.67)
Does anyone have any ideas on how to accomplish this task?