lua number conversion

Help with any software/desktop related issues. e.g. companion9x, eePe, etc
Post Reply
Richard
Posts: 183
Joined: Sat Mar 29, 2014 10:44 pm
Country: United States
Location: Coral Springs, FL

lua number conversion

Post by Richard »

Gents, I do not know if this is the right place, but may be someone would lead me in the right direction of it is not.
Here is the problem. I need to convert a number to a text in lua, for the Taranis 2.0.18 transmitter. I understand that lua can use tostring operator to do so, however, I was not able to see that operator in the OpenTX documentation. Question is: Is it possible to make such conversion, or I am pushing the envelope too much?
Thank you.
Richard

User avatar
Kilrah
Posts: 11109
Joined: Sat Feb 18, 2012 6:56 pm
Country: Switzerland

Re: lua number conversion

Post by Kilrah »

Not sure, but I believe the OpenTX documentation only lists OpenTX specific functions (that interact with the firmware and radio), for the rest the standard lua reference docs apply.
Not all lua libs are included, but the string one is there.
Richard
Posts: 183
Joined: Sat Mar 29, 2014 10:44 pm
Country: United States
Location: Coral Springs, FL

Re: lua number conversion

Post by Richard »

Thanks a lot Kilrah, I will do some trials in OpenTX and see if I can get those weird operators working.
Richard

Post Reply

Return to “Software”