Message 1 of 4
How set to show only 2 decimal places?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Here is my code to get a 3d point.
How set to only 2 decimal places in this code?
Thank's in advance.
Private Sub CommandButton1_Click()
Dim returnPnt As Variant
Dim coordenada As String
UserForm1.Hide
' Return a point using a prompt
returnPnt = ThisDrawing.Utility.GetPoint(, "Entre com um ponto: ")
MsgBox "O ponto é : " & returnPnt(0) & ", " & returnPnt(1) & ", " & returnPnt(2) & vbCrLf
UserForm1.Show
End Sub
How set to only 2 decimal places in this code?
Thank's in advance.
Private Sub CommandButton1_Click()
Dim returnPnt As Variant
Dim coordenada As String
UserForm1.Hide
' Return a point using a prompt
returnPnt = ThisDrawing.Utility.GetPoint(, "Entre com um ponto: ")
MsgBox "O ponto é : " & returnPnt(0) & ", " & returnPnt(1) & ", " & returnPnt(2) & vbCrLf
UserForm1.Show
End Sub