VB:
Dim objgencell4 As New FarPoint.Web.Spread.GeneralCellType() '4位小数
'设置为4位小数
Dim numform4 As System.Globalization.NumberFormatInfo = CType(System.Globalization.NumberFormatInfo.CurrentInfo.Clone(), System.Globalization.NumberFormatInfo)
numform4.NumberDecimalDigits = 4
numform4.NumberDecimalSeparator = "."
objgencell4.NumberFormat = numform4
你的这个需求,你可以参考Spread ASP.NET 6.0帮助文档中的Spread ASP.NET 6.0 Product Documentation > Client-Side Scripting Reference > Scripting Overview > Developing a Custom HTC File > Formatting Percent Value on the Client 章节