WeBWorK Main Forum

Problem weighting

Problem weighting

by Paul Pearson -
Number of replies: 1

Is it possible to give a homework problem a point value (weight) that is not an integer? I've tried setting values such as 1/3, 0.333, and 1.5 via the homework sets editor and in set definition files that are then imported, but the weight gets changed to 1 (or 13), 0, or 2.  My ultimate goal is to make a homework set worth 1 point that has several problems of equal value in it.  Is this possible?

Thanks!

Paul Pearson   

In reply to Paul Pearson

Re: Problem weighting

by Glenn Rice -

Decimal or fractional values are not supported for the point value of a problem at this point.  Only integer values will work.  This is due to the fact that the type in the database for that parameter is INT.