Aug-26-2023, 07:38 PM
given a decimal number (via args in a function, for example), i can find out how many digits it has with:
how_many_digits = len(str(a_decimal_number))-1is there a better. more appropriate, way to do that, that i may have missed? i want to get the minimum precision i need to set to work with this decimal number in decimal. i may decide to use twice as many to cover extreme cases with multiplication and division.
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.