04-20-2005, 11:42 AM
			
							
		 | 
		
			 
			
			
		 | 
	
	| 
			
			
			
			 Confirmed User 
			
		
			
			
			
				 
                                
				Join Date: Nov 2004 
				Location: Scottsdale, AZ 
				
				
					Posts: 5,167
				 
				
				
				
				     
			 					
		
	 | 
	
	
	
	
		
		
		
		
	Quote: 
	
	
		| 
			
				 
					Originally Posted by Varius
					
				 
				No luck...also tried * 1, using settype to make sure they are equivalent types and few other things. 
The weird part is, if I only add a value once, its fine.
 
ie.
 
	PHP Code: 
	
		
			
$var = 0;
 $var += 0.00004;
 
 echo $var; 
 
		
	 
 will give me 0.00004 as output.
 
Once I loop on it though and add more values, it changes format.
 
Weird, no one on IRC or google could solve it...my fix above though works for my purposes..  
			
		 | 
	 
	 
 I'd stick to what works then    
		
	
		
		
		
		
		
	
	 | 
	
		 
						
		
		
		
		 
	 | 
	
	
	
		
                 
                 
                 
                 
		
		
		
			 
		
		
		
		
		
		
		
			
			
		
	 |