decimal type : Decimal : Data Type PYTHON TUTORIALS


PYTHON TUTORIALS » Data Type » Decimal »

 

decimal type


import decimal                               # Decimals
d = decimal.Decimal('3.141') 
print d + 1



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON TUTORIALS

 Navioo Data Type
» Decimal