#V9.6.0.3 update problem

1 messages · Page 1 of 1 (latest)

silent gust
#

Hi, I just updated after more than 6 months to this version, all working well except for the MACH speed indicator Display. FSX shows Mach .839 and my MCP displays Mach 8.390, IAS is normal.
I think is something related to my formula that I have been using for long time.
Anyone here with a fresh head to help me 🙂

rancid jungle
#

i don't see a problem here. Rounding looks fine... the decimal point shows even though that you have not used a decimal point?

#

are you trying to display mach and regular kts with the same config?

#

so what i assume is that you have another config active that sets the decimal point

#

ah wait... you're saying 8.390

stiff vessel
#

so maybe "_.839" is probably what we should target to display (underscore meaning space).

rancid jungle
#

but he has the multiplication with Round($*1000,0) in his transform

#

.839 should become 839

#

ah ok

#

I didn't really see the if($>400,'.'$,$)

rancid jungle
#

i can reproduce it.

#

Ok. I found the reason

#

I can fix this in the next beta update

#

in the meantime do: if($>=400,' .$',$)

#

this will give a leading 0, e.g. 0.839

stiff vessel
rancid jungle
#

yes

#

it is small bug, because MF is able to parse the result as float and keeps using float, but the float has a leading zero. I already changed that in my code here locally

stiff vessel
#

too wonky for my taste, I would rather go with the old method of integers and explicit decimal point, until you get the official support for floating point on 7 segments displays fixed.

rancid jungle
#

he is trying the beta

#

actually I am happy about this feedback

#

because I didn't think of the special case of a leading "." with no digits in front

sweet lotus
#

🙂
@rancid jungle @stiff vessel
Seb told me already yesterday.....
That was my work here when i made the MCP Displays for Manolo (MrBoeing) some years ago.

As you guys expect.... My target was to not use the Decimal Point by the checkmark in Display Tab to avoid using 2 Configs here.
So logic is.... If Value is IAS (Less 400) show just "xxx" ... If Value is Mach (Greater 400) then show ".xx"

That was the only situation we could use the trick in the past in case here there was no Zero before the Decimal Point.
Cause else we got the problem with the empty diggit!

#

The Round in formula is needed cause PMDG ( Via FSUIPC) output e.g. a Mach Value of .78 sometimes as value 0,779999
So it was needed (in the past) to Round it and to multiply by 100 to get full numbers