aboutsummaryrefslogtreecommitdiff
path: root/unit_label.h
blob: 8f6220c3bedc763cc0162590a0f45cf175118b79 (plain)
1
2
3
4
5
6
7
8
9
struct unit_label {
	/* number of times this unit fits into the immediate larger one */
	double count;

	/* label for the unit*/
	char *label;
};

double make_unit_whatsit(const struct unit_label l[], char **unit, double value);