Quote:
Originally Posted by chaley
The following tests whether a number is an integer by comparing the integer formatted value against the floating point formatted value.
Code:
program:
sindex = raw_field("series_index");
cmp(format_number(sindex, '{0:d}'), format_number(sindex, '{0:f}'), 'not int', 'int', 'not int')
|

Must keep this trick in mind. I knew there had to be something.
Quote:
Originally Posted by DMee
Chaley, if that checks on a per-item basis it won't trigger for all the books in the series, just those with fractions?
|
And I didn't think of this either. So it was not you who was confused, chaley.