We now try to separate the decimal and integral part of the / product . The floor function returns the smallest integer less than or equal to the argument . So in this case , product - floor ( product ) will give us the decimal part of product
decimal_part = product - math . floor ( product ) ; NEW_LINE