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
 

what num is this

Previous Thread :: Next Thread 
cooldaniel234 is not online. cooldaniel234
Joined: 21 Aug 2010
Total Posts: 921
16 Aug 2017 02:01 AM
math.rad(math.pi/1)

Report Abuse
Ajastra is not online. Ajastra
Joined: 01 Aug 2017
Total Posts: 1461
16 Aug 2017 02:13 AM
Hi cooldaniel. The math.rad() function converts degrees to radians. The division by 1 is pointless there.

It's converting an approximation of Pi degrees (about 3.14159 degrees) into radians for some reason. This might be a mistake. There are 2 * Pi radians in a circle, and Pi radians is half a circle (180 degrees).

Maybe whoever wrote the script did not have a good understanding of radians.

The number the call returns, since it's what you asked for, happens to be 0.054831135561608


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