<?php $counts = [ '0.13' => 0, '0.3' => 0, '1.234' => 0, ]; for($i = 0; $i < 1000000; $i++) { $counts['0.13'] += 0.13; $counts['0.3'] += 0.3; $counts['1.234'] += 1.234; } print_r( $counts );
You have javascript disabled. You will not be able to edit any code.