#Joining two values for display

1 messages · Page 1 of 1 (latest)

prime lintel
#

Hi guys. I've searched high and low and cannot find how to join two or more values and display them onto the Winwing MCP altitude display (or any display). The Bae 146 displays the autopilot altitude in single digits (MCP_Alt_dig1, MCP_Alt_dig2, etc) and I want to join all those five digits and send them to the display. What expression or syntax can I use to do this under "preset/custom code" section?

young cloud
#

it is shown here, no?

#

dig1*10000 + dig2*1000 + dig3*100

#

the link is an existing output preset for this aircraft

prime lintel
#

Perfect thank you! Turns out it was on the pre-defined list after I pasted that into custom code.