Hello Guest it is April 27, 2024, 06:51:27 AM

Author Topic: DRO reading  (Read 449 times)

0 Members and 1 Guest are viewing this topic.

DRO reading
« on: December 04, 2023, 11:41:09 AM »
Good evening
having the need to see the read the dro in the bar
I put the following line in the script:
Message "X = " & GetOemDRO(800)
it works fine, but in the display it gives me a series of numbers
after the point, I'll try to explain better if the value of the dro is
"77,340"
in the bar I see:
"77.340000001242"
I ask anyone who is capable (since I am not) if it is possible to shorten the figures e.g.: 77,340.
I thank anyone who can help me
Greetings

Offline TPS

*
  •  2,505 2,505
    • View Profile
Re: DRO reading
« Reply #1 on: December 04, 2023, 01:05:01 PM »
we had the sam thing a while ago.
Code: [Select]
Message "X = " & nFmt(GetOemDRO(800),3)
anything is possible, just try to do it.
if you find some mistakes, in my bad bavarian english,they are yours.
Re: DRO reading
« Reply #2 on: December 04, 2023, 01:31:43 PM »
ok TPS, it works perfectly, thanks!!!!!!
yes it's true I had the same problem some time ago
it was for saving in scan, honestly I tried
to modify it (and I wasted a lot of time!! ) but I didn't succeed
It's not within my knowledge, maybe for her it's simple, for me it's very complicated!!!!!!
thanks again, regards