.NET units class, inches to millimeters

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

    No there is nothing like that built-in. But you can simply multiply or divide by 25.4.

提交回复
热议问题