Below is part of some code which displays a gauge which shows the progress from 0 - 100 of a word counter, however i am unsure how to code the if statement to display some text to show a successful count. I have had a go at the if statement " if gg_Progress.value = 100 " which i know is wrong, does anyone know what it should say. Thanks
public void SetGauge(int value) {
this.gg_Progress.setValue(value);
}
public void GaugeCheck () {
if gg_Progress.value = 100 {
string_Progress.setText("The number of words have been successfully counted");
}
}