Author Topic: No limit decimals  (Read 2648 times)

Sloboda

  • Jr. Member
  • **
  • Posts: 74
  • VoiceCommander Creator
    • A.M.I.S. X Plane
No limit decimals
« on: March 12, 2017, 08:26:17 AM »
Hello,
could be possible to no limit numbers and computed actions to numbers to 5 decimals ?

Some commands to XPlane need calculate with more 5 decimals, mostly, barometers values use a coefficient exactly 1013/29.92

Thank you very much.

Pfeil

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4782
  • RTFM
Re: No limit decimals
« Reply #1 on: March 12, 2017, 11:04:08 AM »
It's already possible, in a way; The limitation is in the settings of the numericupdown control.

If you enter a value using the keyboard, then click "OK" without touching anything else, you can enter more digits:
Code: [Select]
Set decimal [dec] value to 0,00000000002
Set decimal [dec] to [dec] plus 0,00000000004
Write '[Purple] {DEC:dec}' to log
Will write "0,00000000006" to the log.


Obviously this isn't exactly a neat solution, but it could serve as a workaround for the time being.


EDIT: It does not appear this workaround is still available after the interface changes in v1.8
« Last Edit: April 18, 2020, 08:35:29 AM by Pfeil »

Sloboda

  • Jr. Member
  • **
  • Posts: 74
  • VoiceCommander Creator
    • A.M.I.S. X Plane
Re: No limit decimals
« Reply #2 on: March 12, 2017, 11:55:21 AM »
Hello Pfeil,

i'm sorry, i didn't know.

Thank you.

Pfeil

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4782
  • RTFM
Re: No limit decimals
« Reply #3 on: March 12, 2017, 12:07:01 PM »
No need to be sorry. It's not a proper solution to the problem, nor does it invalidate your feature request.