.NET units class, inches to millimeters

前端 未结 7 799
爱一瞬间的悲伤
爱一瞬间的悲伤 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 07:52

    Csunits is a nice Units of Measurement library for C#, see https://github.com/cureos/csunits. It's currently geared towards radiotherapy but you can easily add your own units and quantities.

提交回复
热议问题