Results 1 to 3 of 3
Thread: Re: Showtext
-
02-08-2006, 06:07 AM #1Enrico SchirattiGuest
Re: Showtext
Are you using the format:
showtext myvalue,-107.7,-220.0,5,##0.0
Ciao
Enrico
"David Rabiner" wrote in message
news:387988.77787@wb.onvix.com...
> My latest little project is a digital trim indicator using the showtext
> function.
>
> The showtext function will accept a non-integer argument, which is
> important
>
> because the trim offset in FS needs to be divided to get a workable trim
> number. Showtext will only return the integer portion of the argument.
> The
>
> trim number needs to be displayed in tenths, but the workaround on that
is
> to use a divisor that creates a quotient that is ten times the trim, then
> inserting a decimal point.
>
> If the argument is a negative integer, the showtext function will display
> the negative integer, which is important when the trim setting is
> negative.
>
> The problem is that when the argument is a negative non-integer, showtext
> displays zero.
>
> I'm stumped on figuring out a workaround.
>
> Help?
>
> Warm regards,
> David
>
-
02-08-2006, 01:26 PM #2David RabinerGuest
Re: Showtext
Ah, I've discovered that display format.
I've also discovered that if I change the factor when declaring the
variable, I don't have to perform any arithmetic and the variable displays
perfectly.
0BC2 2 fsstab .002442
It all works now.
BTW, using the factor on the fuel tanks makes life much easier, too.
Thanks!
Warm regards,
David
"Enrico Schiratti" wrote in message
news:389159.77787@wb.onvix.com...
> Are you using the format:
>
> showtext myvalue,-107.7,-220.0,5,##0.0
>
> Ciao
>
> Enrico
-
02-08-2006, 04:34 PM #3Enrico SchirattiGuest
Re: Showtext
> I've also discovered that if I change the factor when declaring the
> variable, I don't have to perform any arithmetic and the variable
displays
> perfectly.
Yes, that was the general intention at the time
"David Rabiner" wrote in message
news:389264.77787@wb.onvix.com...
> Ah, I've discovered that display format.
>
> I've also discovered that if I change the factor when declaring the
> variable, I don't have to perform any arithmetic and the variable
displays
> perfectly.
>
> 0BC2 2 fsstab .002442
>
> It all works now.
>
> BTW, using the factor on the fuel tanks makes life much easier, too.
>
> Thanks!
>
> Warm regards,
> David
>
>
> "Enrico Schiratti" wrote in message
> news:389159.77787@wb.onvix.com...
>> Are you using the format:
>>
>> showtext myvalue,-107.7,-220.0,5,##0.0
>>
>> Ciao
>>
>> Enrico
>
Hello, I'm new to SIOC configuration etc... so I'm coming to you to find out if a member has...
Opencockpit modules frequency...