You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instead of storing units internally as a string, it might be helpful to separate the quantity from the unit. That is, instead of storing "5 gallons" as string, store quantity = 5 and unit = "gallons" separately.