(Oct-20-2022, 07:17 AM)ibreeden Wrote: But if I understand Skaperen right, he only wants to convert a float to an int if the decimal part equals zero.almost.
i want this to be in the decimal.Decimal type which may or may not store the fraction, which can be zero if stored.
sorry, my first post just said "decimal" instead of "decimal.Decimal".
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.