79132184

Date: 2024-10-28 05:55:35
Score: 1.5
Natty:
Report link

Here is one I use, and keeps the rounding format and digits intact

Function RoundUp(ByVal d As Double, digits As Integer) As Single Dim result As Single

result = Math.Round(d, digits)
If result >= d Then
    RoundUp = result
Else
    RoundUp = result + (1 / (10 ^ digits))
End If

End Function

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: TexasTim