Alice Community

Alice Community (
-   How do I...? (
-   -   problem with numbers (

keybasher 03-12-2013 04:45 PM

problem with numbers
1 Attachment(s)
I'm working on Assignment 6, and I've run into a problem. Now, I have to create a world with a character singing "99 Bottles of Pop on the Wall." It's working fine, except for one thing: When I run the world, the numbers show up in the bubble as x.0 (1.0, 2.0, ...). I want the numbers to show up as x (1, 2, ...). How do I do this?

Here's the link:

djslater107 03-13-2013 06:04 AM

whole numbers in Alice 2.3
The very latest release of Alice 2.3 (2.3.3) has replaced function "int(a) as String" with "int(a)". You will find this function in the world functions tab.

Use this function in your "say" statement with the value you are displaying.

keybasher 03-14-2013 11:13 AM

Okay, thanks.

All times are GMT -5. The time now is 07:00 AM.

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