Public Function RoundToLarger(dblInput As Double, intDecimals As Integer) As Double '四舍五入
Dim strFormatString As String
If dblInput <> 0 Then
strFormatString = "#." & String(intDecimals, "#")
RoundToLarger = Format(dblInput, strFormatString)
Else
RoundToLarger = 0
End If
End Function