Nice to be able to use these outside of altoslib
Signed-off-by: Keith Packard <keithp@keithp.com>
return "meters per second squared";
}
- int show_fraction(int width) {
+ public int show_fraction(int width) {
return width / 9;
}
}
\ No newline at end of file
return "meters";
}
- int show_fraction(int width) {
+ public int show_fraction(int width) {
if (AltosConvert.imperial_units)
return width / 3;
return width / 9;
}
- int say_fraction() {
+ public int say_fraction() {
if (AltosConvert.imperial_units)
return 1;
return 0;
return "meters per second";
}
- int show_fraction(int width) {
+ public int show_fraction(int width) {
return width / 9;
}
}
\ No newline at end of file