Alice Community

Alice Community (
-   How do I...? (
-   -   Removing the .0 at the end of a variable as string (

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.