- value.setText(String.format(format, v));
- if (v > max) {
- max_value.setText(String.format(format, v));
- max = v;
+ if (v == AltosRecord.MISSING) {
+ value.setText("Missing");
+ max_value.setText("Missing");
+ } else {
+ value.setText(String.format(format, v));
+ if (v > max || max == AltosRecord.MISSING) {
+ max_value.setText(String.format(format, v));
+ max = v;
+ }