I see 2 solutions here:
1 - storing it as a string (something like "250g", "180ml" or "3tbsp")
2 - add a field (char field) for the unit