Program to convert Centimeters to Pixels | Function to convert centimeter to pixels ; Driver Code
< ? php function Conversion ( $ centi ) { $ pixels = ( 96 * $ centi ) / 2.54 ; echo ( $ pixels . " " ) ; } $ centi = 15 ; Conversion ( $ centi ) ; ? >