Compare strings of numbers with units

前端 未结 0 435
醉梦人生
醉梦人生 2020-12-15 13:48

I have a few strings like 10g or 5ml or 10l or 2 cups.
Is there a way to compare these units?

For example:

相关标签:
回答
  • 消灭零回复
提交回复
热议问题