标签: 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
1234567890123.12
单元格应显示123456780123.12345
123456780123.12345