.NET units class, inches to millimeters

前端 未结 7 919
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-04 07:42

Does .NET has Units conversion class? I need to convert inches to millimeters and vise versa.

7条回答
  •  醉酒成梦
    2021-01-04 08:12

    No, there is no such unit conversions built into the framework. Should be easy enough to implement yourself, though.

提交回复
热议问题