MENU

Fun & Interesting

Python's decimals SOLVE the floating point problem!

Carberra 4,835 lượt xem 3 months ago
Video Not Working? Fix It Now

The decimal module in Python's standard library are essential knowledge for anyone needing to perform mathematical operations with zero error tolerance. As the name suggests, they treat numbers as decimal rather than binary, meaning they make sense to us humans!

Code ► https://github.com/Carberra/python-is-awesome/tree/main/2501-decimal

00:00 - Intro
00:54 - Outling the problem with floating point
04:20 - Why are decimals useful?
04:42 - Creating decimals
08:07 - Performing operations on decimals
12:26 - Decimal contexts
16:40 - Outro



~ Hotlinks ~
Become a member ► https://www.youtube.com/channel/UC13cYu7lec-oOcqQf5L-brg/join
Join the Discord ► https://discord.gg/5vVgQpK

~ Setup ~
Visual Studio Code ► https://youtu.be/PBQspYkkksU
Terminal ► https://youtu.be/4RuGK3w6Mbs
Desk/recording gear ► https://kit.co/Carberra
PC build ► https://uk.pcpartpicker.com/list/TmzGYN

~ Affiliations ~
Codecrafters (40% off any plan) ► https://app.codecrafters.io/join?via=parafoxia
Keeper Password Manager (30% off your first year) ► https://keeper.io/r/EX4FB1C

#python #coding #howto

Comment