When I append a Decimal(x)
value to an array I would like to just get the number but it also includes the Decimal()
function call at the start of the element.
Code:
array = []
a = Decimal(0.000005342)
array.append(a)
print(array)
Output:
[Decimal('0.0000053419999999999998450852904674501786530527169816195964813232421875')]