Re: Converting decimal number to carpenter's fractions
- Posted by DerekParnell (admin) May 06, 2012
- 2826 views
K_D_R said...
Why is it better to calculate the constant each time?
Well, they only get calculated once, when the program starts up. And of course, translated programs don't calculate them at all. The main reason I do it this way is that some numbers are easier to remember than others. I remember 25.4 and 304.8 better than 0.0393700787 and 3.2808399 respectively. Also, sometimes I do it this way as it explains the magic number better.

