Excel VBA不显示5精度十进制

时间:2014-11-08 19:10:25

标签: excel vba decimal precision

Dim StrIntVar1 As String

StrIntVar1 = "123456780123.12345"
StrIntVar1 = Format(StrMA663UnitCstAmt, "###0.00000")

ThisWorkbook.Worksheets(Main_Sheet).Cells(1, 1).Value = StrIntVar1

单元格显示= 1234567890123.12

单元格应显示123456780123.12345

0 个答案:

没有答案