Advertisement
Guest User

Untitled

a guest
Jun 26th, 2019
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.12 KB | None | 0 0
  1. int(float)=floor(float)
  2.  
  3. k=2.62
  4. int(k)//will give 2 (floor)
  5. int(k+0.5) // will give int(3.12) ie : 3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement