mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			6 lines
		
	
	
		
			230 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			6 lines
		
	
	
		
			230 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
contract A {
 | 
						|
    fixed40x40 pi = 3.14;
 | 
						|
}
 | 
						|
// ----
 | 
						|
// TypeError 2326: (33-37): Type rational_const 157 / 50 is not implicitly convertible to expected type fixed40x40. Try converting to type ufixed16x2 or use an explicit conversion.
 |