
Rus: "Также любителям бухгалтерии тоже Decimal просто необходим. Я вот думаю Гвидо(создателю питона) надо ввести обозначение для децималов например 'D'.А то вот float есть x = 0.012f, а для децималов было бы удобно x = 0.012D или x = 0.012d...Причем если в выражении есть децимал то все float int double в программе подтягиваются до Decimal то есть x = 0.012f + 0.3D ... float 0.012f становится decimal, и х = сумме 2х децималов. " DeepL translate: "Also lovers of accounting, too, Decimal just need. I think Guido (the creator of the python) should enter a designation for decimals for example 'D', because float is x = 0.012f, but for decimals. it would be convenient to x = 0.012D or x = 0.012d... And if in the expression there is decimal then all float int double in the program are pulled up to Decimal i.e. x = 0.012f + 0.3D ... float 0.012f becomes decimal, and x = sum of 2 decimals."
participants (1)
-
dust dimka