In a truly surreal experience, I have spent 20 minutes on a task I thought would take 20 seconds.
I want to use decimals with 3 or more places. I cannot get anything over 1 place, and even in that case it's nonsense.
For example, I am unable to get 1/3
to show as anything other than 0
or 0.0
.
Googling led me to Decimal, but Decimal also failed to help.
Please end this torture and tell me what I have to do to get 1/3
to show up as .333
!
Edit Thank you all for clearing that up! Apparently computer scientists have invented something called integer division to confuse and irritate mathematicians. Thank you for being kind enough to dissipate my confusion.