title: Want to seperate the integer part and fractional part of float number in python
body: <p>I am Working on Converting the value of foot to inches where 1 foot = 12 inches. I am calculating the height of person in inches. ex. 5.11 a person of height 5 foots and 11 inches means total 71 inches. Is there any way in Python so i can separate the int part &amp; float part of float number for further calculations ? any suggestions are welcome.</p>