Sponsored · Amazon offerTry Amazon Prime freeFast free shipping, Prime Video and more.Start free trial
SponsoredShop Amazon for Decimal data typeBrowse products on Amazon.Search Amazon
SponsoredAmazon Best Sellers in Tools & Home ImprovementUpdated hourly by Amazon.Shop best sellers
Sponsored · Popular on AmazonToys & GamesVideo GamesOffice ProductsBeauty & Personal Care
As an Amazon Associate I earn from qualifying purchases.

Topic summary

Decimal data type

Some programming languages (or compilers for them) provide a built-in (primitive) or library decimal data type to represent non-repeating decimal fractions like 0.3 and −1.17 without rounding, and to do arithmetic on them. Examples are the decimal.Decimal or num7.Num type of Python, and analogous types provided by other languages.