Convert string to decimal : Decimal : Data Type PYTHON TUTORIALS


PYTHON TUTORIALS » Data Type » Decimal »

 

Convert string to decimal


import decimal 

print decimal.Decimal('1.1')



Leave a Comment / Note


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


PYTHON TUTORIALS

 Navioo Data Type
» Decimal