Alice Community  

Go Back   Alice Community > Alice 2 > How do I...?

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
How can I display numbers without decimal points?
Old
todd0312
Member
 
todd0312's Avatar
 
Status: Offline
Posts: 35
Join Date: Sep 2011
Default How can I display numbers without decimal points? - 10-20-2011, 03:40 PM

Maybe this is a dumb question, but I am a noob, , so...

I am taking an introductory programming course, and we are doing a program where we have our character sing(say) the song "99 of Pop on the wall" (no beer). My issue is that the song displays as "1.0 bottle, 2.0 bottles", etc. and I would prefer simply "1 bottle, 2 bottles", etc.

Is there a way to display numbers in this way without the decimal points?

Any feedback will be greatly appreciated.

Thanks in advance.

Todd
   
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



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