You’re welcome. These objects definitely require some in depth study in order to gain a full understanding of their usage, especially optimal usage. SigDigs is one area that is worthy of consideration. Decimal objects do not require a round() function since they have a precision attribute. It’s been a long while since I first tried to explore this class. In my limited clime there were not a lot of use cases and it fell to the wayside (but not forgotten).
Explore the class and bring forward any other observations or use cases that you envision.
Because the goal of Decimal to create numbers and do math that more closely resembles how humans think through operations it is important to distinguish it from ordinary integers, and more importantly from ordinary floats. The only way to do this is to make each object a string, and let the decimal module sort things out.
round is a general purpose function that does not take into account significant figures (sigdigs). Of course there is much more to it than that. Decimal objects are strings, rather than floats, which may contribute to faster processing (needs to be checked).
How does it know how many decimal points to do? It’s not because it’s written. This course is becoming worse and worse with each module. Why charge us so much money for a wiki entry on what the module is about? I learned nothing here from the course content.
From an amateur point of view, I found and still do find the Decimal module a little more than confusing. However, I expect that judicious use of the module might well fit an environment where decimal constraints are strictly conformed with, such as significant figures in science calculations. Bottom line, this is just one blip that most learners experience. Keep going. It’s how you will get your money’s worth as long as you see this as an investment in yourself.