Alice Community  

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

Reply
 
Thread Tools Display Modes
Round to an Integer
Old
Lucifera
Guest
 
Status:
Posts: n/a
Default Round to an Integer - 02-08-2009, 03:48 PM

I need for my parameter to round to to an integer.
Thanks!
   
Reply With Quote
Old
johnnywas
Guest
 
Status:
Posts: n/a
Default 02-08-2009, 05:36 PM

and I'd like to know how to make numbers in questions which use the ask user function appear with no decimal places (1 rather than 1.0)
   
Reply With Quote
Old
DrJim
Guest
 
Status:
Posts: n/a
Default 02-12-2009, 09:54 AM

Neither can really be done in Alice 2.0 since it doesn't support an integer format.
   
Reply With Quote
Old
Ch0pStickS
Guest
 
Status:
Posts: n/a
Default 02-14-2009, 12:29 AM

click world. go to functions tab. go under advanced math. use "round a" function.
   
Reply With Quote
Reply


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 ©2024, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.