Changeset 591 for experiments/frams/foraminifera
- Timestamp:
- 08/22/16 01:43:26 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
experiments/frams/foraminifera/data/scripts/foraminifera.expdef
r590 r591 803 803 } 804 804 805 function getNumberCounter(counter, increase, unit) 806 { 807 var result = 0; 805 function getNumberCounter(counter, increase, unit) //increase counter and then deduct and return an integer number of units 806 { 808 807 counter += increase; 809 result = int(counter/unit);808 var result = int(counter/unit); 810 809 counter -= result*unit; 811 810 return {"counter" : counter, "number" : result};
Note: See TracChangeset
for help on using the changeset viewer.