Alice Community

Alice Community (http://www.alice.org/community/index.php)
-   How do I...? (http://www.alice.org/community/forumdisplay.php?f=16)
-   -   Removing the .0 at the end of a variable as string (http://www.alice.org/community/showthread.php?t=6463)

TauTrumpsPi 05-03-2011 01:56 PM

Removing the .0 at the end of a variable as string
 
How can I set it so that it Alice 2.2 when you set text to a variable as a string, it does not say _.0 , just _?

sfunk 05-03-2011 01:59 PM

go to world functions and there should be one that says "int a as string" use that and it wil get rid of the decimal. and i beleiev there may be another thread about this issue already, so look for that if you have any further questions

reuben2011 05-03-2011 06:33 PM

Yep, just put "int as a string" and put in whatever number or number variable or parameter.

TauTrumpsPi 05-18-2011 11:25 AM

Thank you, I had been using "what as string and did not notice the integer as string.


All times are GMT -5. The time now is 08:43 AM.

Copyright ©2020, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.