Advertisement
Fhernd

precision.py

Jan 18th, 2018
893
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.10 KB | None | 0 0
  1. from decimal import *
  2.  
  3. decimal = Decimal(10.5)
  4. print(decimal)
  5.  
  6. decimal = decimal * 2
  7. print (decimal)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement