Alice Community  

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

Reply
 
Thread Tools Display Modes
Number display
Old
rondoran
Junior Member
 
Status: Offline
Posts: 5
Join Date: Sep 2011
Location: Werribee
Question Number display - 10-15-2011, 07:49 PM

Hi
In Alice is it possible to truncate the number result to say 55 in lieu of say 55.43567222222222222
This is the type of result that I am getting in my calculation and I need to display the ent1re number without the decimal points.
Thanks again
Ron
   
Reply With Quote
Old
room14
Senior Member
 
room14's Avatar
 
Status: Offline
Posts: 549
Join Date: Nov 2009
Location: Auckland New Zealand
Default 10-15-2011, 09:06 PM

In the worlds function there is a function called round (a).
Is that what you need?


:D
   
Reply With Quote
Old
rondoran
Junior Member
 
Status: Offline
Posts: 5
Join Date: Sep 2011
Location: Werribee
Default 10-15-2011, 09:15 PM

Exactly thanks
   
Reply With Quote
Reply

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.