Oct-20-2022, 05:17 AM
when a decimal number is a whole (integral, integer-like) number, it gets converted to string without the ".0". but if i take the result of calculation, such as conversion from Fahrenheit to Celsius, 98.6 gives me 37.0. but when the fraction part is zero, i want to make it like whole. basically i want to have a whole value if the fraction is zero. what decimal method can do this. i looked through the ones in the library manual but i could not find one. must i implement one (i'm sure i can, but this seem silly if there already is one).
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.