Mathmaker Doc for dev
Generator of maths worksheets and their detailed solutions
Status: Alpha
Brought to you by:
nico_h
/!\ just a draft
This class is just a kind of wrapper for simple numbers and strings. If any other object needs to use a number or a string in its fields, it must embed it in a Value. This is to be sure that any field is actually an object that provides all methods of Value and hence can be tested, evaluated etc. as any other Calculable object.
Please note that Values do not derive from Exponented. No exponent.
All numbers stored in a Value will be converted, if necessary, into decimal.Decimal and hence will provide associated methods (like rounding methods...). Value provides itself some methods more practical to use, that are kind of shortcuts for methods from decimal.Decimal.
Possible args for __init__() :
Fields :
Debugging info :