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
Voir le premier message non lu • 2 messages
• Page 1 sur 1
-
eduaqa
Niveau 2: MI2 (Membre Initié)- Messages: 4
- Inscription: 05 Oct 2023, 12:35
- Genre:
- Calculatrice(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...)-
AdriwebAdmin
Niveau 16: CC2 (Commandeur des Calculatrices)- Messages: 14617
- Images: 1218
- Inscription: 01 Juin 2007, 00:00
- Localisation: France
- Genre:
- Calculatrice(s):→ MyCalcs profile
- Twitter/X: adriweb
- GitHub: adriweb
2 messages
• Page 1 sur 1
Qui est en ligne
Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 21 invités