getActiveSheet()->getCell('A1')->setValue($value); $writer = new Writer($sheet); $writer->save($outputFilename); $reader = new Reader(); $sheet = $reader->load($outputFilename); unlink($outputFilename); self::assertSame($value, $sheet->getActiveSheet()->getCell('A1')->getValue()); } public function providerIntyFloatsRetainedByWriter() { return [ [-1.0], [-1], [0.0], [0], [1.0], [1], [1e-3], [1.3e-10], [1e10], [3.00000000000000000001], [99999999999999999], [99999999999999999.0], [999999999999999999999999999999999999999999], [999999999999999999999999999999999999999999.0], ]; } }