类库说明文档
![]() | JHConstDoubleToStr Method |
将浮点数转换为指定位数的字符串格式
Namespace: DCSoft.Utility
Assembly: DCSoft.Utility (in DCSoft.Utility.dll) Version: 0.0.0.0 (1.0.0.0)

C#
public static string DoubleToStr( double value, int num )
Parameters
- value
- Type: SystemDouble
要转换的值 - num
- Type: SystemInt32
需要保留的小数位数
Return Value
Type: String[Missing <returns> documentation for "M:DCSoft.Utility.JHConst.DoubleToStr(System.Double,System.Int32)"]
