Page 1 of 1

imdb script, ratings are floored

Posted: 2005-05-09 07:28:52
by elman
hi,

just found a small bug with imdb script. I don't use decimals, just integers. When a movie is imported, rating is floored (e.g. 3,8 becomes 3) and it should be rounded. I looked into a script, but there is only call of procedure

Code: Select all

SetField(fieldRating, TextBetween(Value, '<b>', '/'));
and that one is found in MovieCatalog.exe, so I can't fix it :/

Elman

Posted: 2005-05-09 08:09:15
by antp
I'll see if I can easily make ratings rounded rather than truncated when displayed as Integer within AMC ;)