[LON-CAPA-users] (no subject)

2015-12-04 Thread Jacob Bond
Search 'Thanks for the great response' in LON-CAPA-users
___
LON-CAPA-users mailing list
LON-CAPA-users@mail.lon-capa.org
http://mail.lon-capa.org/mailman/listinfo/lon-capa-users


[LON-CAPA-users] (no subject)

2015-11-02 Thread Rex Abert
I have a question about rounding values to, say, 3 or 4 digits in the 
spreadsheet.  I've come up with the following hack that does the job, but i was 
wondering if there was a more elegant (built-in?) way to do it.


$x = ("T","regexp:Homework")/("S","regexp:Homework")*100;
$x *= 1000;
$x = int($x);
$x /= 1000;
$x; 

In the above code, columns S and T contain points available and points earned, 
depending on whether the due date has passed or not.

Rex Abert
Associate Professor of Mathematics
Tallahassee Community College
___
LON-CAPA-users mailing list
LON-CAPA-users@mail.lon-capa.org
http://mail.lon-capa.org/mailman/listinfo/lon-capa-users