PHP   21

float

Guest on 12th May 2022 01:12:16 AM

  1. <?php
  2. $variation_array = array(
  3.   'float 10.5' => 10.5,
  4.   'float -10.5' => -10.5,
  5.   'float 12.3456789000e10' => 12.3456789000e10,
  6.   'float -12.3456789000e10' => -12.3456789000e10,
  7.   'float .5' => .5,
  8.   );
  9. ?>

Raw Paste


Login or Register to edit or fork this paste. It's free.