Home Forums Article Discussions Article Discussions by Author Discuss content posted by Adrian Facio Format decimal value to fraction using a tally table. RE: Format decimal value to fraction using a tally table.
Craig A. Silvis
Ten Centuries
Points: 1038
More actions
April 29, 2014 at 9:40 am
#1709531
It worked for 10.375 but not for 10.377.
It is because this statement
DecimalPart % (1.0 / Number) = 0.0
is never true
I tried making the tally table 10,000 but it still doesn't work.