Changeset 591 for experiments


Ignore:
Timestamp:
08/22/16 01:43:26 (8 years ago)
Author:
Maciej Komosinski
Message:

Added a comment

File:
1 edited

Legend:

Unmodified
Added
Removed
  • experiments/frams/foraminifera/data/scripts/foraminifera.expdef

    r590 r591  
    803803}
    804804
    805 function getNumberCounter(counter, increase, unit)
    806 {
    807         var result = 0;
     805function getNumberCounter(counter, increase, unit) //increase counter and then deduct and return an integer number of units
     806{
    808807        counter += increase;
    809         result = int(counter/unit);
     808        var result = int(counter/unit);
    810809        counter -= result*unit;
    811810        return {"counter" : counter, "number" : result};
Note: See TracChangeset for help on using the changeset viewer.