Greatest Integer Function | Function to calculate the GIF value of a number ; GIF is the floor of a number ; Driver code
< ? php function GIF ( $ n ) { return floor ( $ n ) ; } $ n = 2.3 ; echo GIF ( $ n ) ; ? >