How to I store the result of a conversion to a variable
example:
Disp 10*_mi▶_km <<<< This work
A:=10*_mi▶_km <<< This generate syntax error
Actually I would like to have in a variable the result of "Avariable"*_mi▶_km/_gal▶_l. -> store to B
I used to do this on the 86 without problem , but here I'm not finding how.
Store conversion in variable
2 posts
• Page 1 of 1
-
eduaqa
Niveau 2: MI2 (Membre Initié)- Posts: 4
- Joined: 05 Oct 2023, 12:35
- Gender:
- Calculator(s):→ MyCalcs profile
Re: Store conversion in variable
Not really possible because the conversion is just at the display/visual level... but it also depends what you want to do with it.
A workaround is to do like this:
Then the variable
If you really wants to have the "km" version in a variable (although it will be forced to be a string one), it can be done with some workarounds via a lua script...
A workaround is to do like this:
Then the variable
a
will contain a simplified (because the Nspire always auto-simplifies) version of the result: 16093.44*_m
.If you really wants to have the "km" version in a variable (although it will be forced to be a string one), it can be done with some workarounds via a lua script...
MyCalcs: Help the community's calculator documentations by filling out your calculators info!
MyCalcs: Aidez la communauté à documenter les calculatrices en donnant des infos sur vos calculatrices !
Inspired-Lua.org: All about TI-Nspire Lua programming (tutorials, wiki/docs...)My calculator programs
Mes programmes pour calculatrices
-
AdriwebAdmin
Niveau 16: CC2 (Commandeur des Calculatrices)- Posts: 14778
- Images: 1123
- Joined: 01 Jun 2007, 00:00
- Location: France
- Gender:
- Calculator(s):→ MyCalcs profile
- Twitter: adriweb
- GitHub: adriweb
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: ClaudeBot [spider] and 8 guests