 39b8dbd0a1
			
		
	
	
		39b8dbd0a1
		
			
		
	
	
	
	
		
			
			If $a or $b are not strings, you can get an error that fmod needs param 1 ($a) to be of type double. MS Excel does not fall over when you insert an empty string in MOD, so I'm guessing PHPExcel should do the same?
		
			
				
	
	
		
			55 lines
		
	
	
		
			509 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			55 lines
		
	
	
		
			509 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| 
 | |
| return [
 | |
|     [
 | |
|         19,
 | |
|         17,
 | |
|         2,
 | |
|     ],
 | |
|     [
 | |
|         19,
 | |
|         -13,
 | |
|         -7,
 | |
|     ],
 | |
|     [
 | |
|         34,
 | |
|         17,
 | |
|         0,
 | |
|     ],
 | |
|     [
 | |
|         34,
 | |
|         0,
 | |
|         '#DIV/0!',
 | |
|     ],
 | |
|     [
 | |
|         3,
 | |
|         2,
 | |
|         1,
 | |
|     ],
 | |
|     [
 | |
|         -3,
 | |
|         2,
 | |
|         1,
 | |
|     ],
 | |
|     [
 | |
|         3,
 | |
|         -2,
 | |
|         -1,
 | |
|     ],
 | |
|     [
 | |
|         -3,
 | |
|         -2,
 | |
|         -1,
 | |
|     ],
 | |
|     [
 | |
|         2.5,
 | |
|         1.3,
 | |
|         1.2,
 | |
|     ],
 | |
|     [
 | |
|         '',
 | |
|         1,
 | |
|         0,
 | |
|     ],
 | |
| ];
 |