mirror of
				https://gitlab.com/freepascal.org/fpc/source.git
				synced 2025-10-31 06:31:34 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			9 lines
		
	
	
		
			175 B
		
	
	
	
		
			ObjectPascal
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			175 B
		
	
	
	
		
			ObjectPascal
		
	
	
	
	
	
| Program Example34;
 | |
| 
 | |
| { Program to demonstrate the Int function. }
 | |
| 
 | |
| begin
 | |
|   Writeln (Int(123.456):0:1);  { Prints  123.0 }
 | |
|   Writeln (Int(-123.456):0:1); { Prints -123.0 }
 | |
| end.
 | 
