AVEDEV.php 938 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <?php
  2. return [
  3. [
  4. 1.020408163265,
  5. [4, 5, 6, 7, 5, 4, 3],
  6. ],
  7. [
  8. 1.65,
  9. [10.5, 7.2],
  10. ],
  11. [
  12. 17.2,
  13. [7.2, 5.4, 45],
  14. ],
  15. [
  16. 61.504,
  17. [10.5, 7.2, 200, 5.4, 8.1],
  18. ],
  19. [
  20. 1.825,
  21. [
  22. // The index simulates a cell value
  23. // Numbers and Booleans are both counted
  24. '0.1.A' => 1,
  25. '0.2.A' => '2',
  26. '0.3.A' => 3.4,
  27. '0.4.A' => true,
  28. '0.5.A' => 5,
  29. '0.6.A' => null,
  30. '0.7.A' => 6.7,
  31. '0.8.A' => 'STRING',
  32. '0.9.A' => '',
  33. ],
  34. ],
  35. [
  36. 1.85,
  37. [1, '2', 3.4, true, 5, 6.7],
  38. ],
  39. [
  40. // When non-numeric strings are passed directly, then a #VALUE! error is raised
  41. '#VALUE!',
  42. [1, '2', 3.4, true, 5, null, 6.7, 'STRING', ''],
  43. ],
  44. [
  45. '#NUM!',
  46. [],
  47. ],
  48. ];