This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('td:contains("2.0")').parent().remove(); //usunięcie wpisów z oceną 2 | |
var sum=0; //suma ECTS | |
var mulSum=0; // suma ECTS * ocena | |
$('td[title="ocena"]').each(function(){ | |
mulSum += parseFloat($(this).text()) * parseFloat($(this).next().next().text()); | |
sum += parseFloat($(this).next().next().text()); | |
console.log(parseFloat($(this).text()), parseFloat($(this).next().next().text())); | |
}); | |
console.log(mulSum, sum, mulSum/sum); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class MyView extends SimpleViewManager<MapView> { | |
public static final String TAG = "MyView"; | |
@Override | |
public String getName() { | |
return TAG; | |
} | |
@Override | |
protected MapView createViewInstance(ThemedReactContext context) { |