generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: How does one round a value?

Previous Thread :: Next Thread 
scienceexpert is not online. scienceexpert
Joined: 25 Sep 2009
Total Posts: 15825
02 Sep 2016 02:05 PM
I'd like to have a thing that shows speed, but it always includes a nasty decimal
Report Abuse
scienceexpert is not online. scienceexpert
Joined: 25 Sep 2009
Total Posts: 15825
02 Sep 2016 02:09 PM
bwarawaesfesf
Report Abuse
JoshRBX is not online. JoshRBX
Joined: 19 May 2012
Total Posts: 8778
02 Sep 2016 02:16 PM
###################################################
Report Abuse
Skellobit is not online. Skellobit
Joined: 13 Apr 2016
Total Posts: 12758
02 Sep 2016 02:16 PM
math.floor(number + 0.5)

Formerly ToxicDominator - add 17,509 posts
Report Abuse
JoshRBX is not online. JoshRBX
Joined: 19 May 2012
Total Posts: 8778
02 Sep 2016 02:16 PM
number = 5 -- Change to #### ###### math.floor(number + 0.5)
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image