Multiply a given Integer with 3.5 | javascript Program to multiply a number with 3.5 ; Driver program to test above functions
function multiplyWith3Point5 ( x ) { return ( x << 1 ) + x + ( x >> 1 ) ; } var x = 4 ; document . write ( multiplyWith3Point5 ( x ) ) ;