Poweranimals
- 68
- 0
What is the best way to convert a fraction into a decimal. IE: 3/8?
cookiemonster said:The easiest way is to just long divide until you start getting 0's or you satisfy the number of digits you need.
cookiemonster
ophecleide said:Yeah, I can see that. If division is not an option, your program may be a viable option.
Integral said:Windows generates about 15 decimal digits so any fraction which requires more digits then this cannot be precisely computed by windows.