Hello Guest it is June 15, 2025, 12:26:20 PM

Author Topic: edit macro line  (Read 1617 times)

0 Members and 1 Guest are viewing this topic.

edit macro line
« on: April 15, 2025, 03:30:09 AM »
good morning
I have a macro that I would like to correct a line, the line in question
is this:

  message "Z iniziale CP " & zzero & "  X= " & xzero & "  Y= " & yzero

the problem is that after the comma it gives me many numbers
(es: z12,123456789 x123,123456789 etc)
is it possible to modify it so as to see 3/4 numbers after the comma?
I ask if someone can help me since I do not have the skills and
competences to do it.
I thank those who can help me

Offline TPS

*
  •  2,592 2,592
Re: edit macro line
« Reply #1 on: April 15, 2025, 04:31:26 AM »
Code: [Select]
message "Z iniziale CP " & Format(zzero, "###0.000") & "  X= " & Format(xzero, "###0.000") & "  Y= " & Format(yzero, "###0.000")

anything is possible, just try to do it.
if you find some mistakes, in my bad bavarian english,they are yours.
Re: edit macro line
« Reply #2 on: April 15, 2025, 05:18:27 AM »
ok TPS
everything works perfectly!!!!
once again you solved my problem!!
thanks for the help offered