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: Question

Previous Thread :: Next Thread 
ShadowAley is not online. ShadowAley
Joined: 23 Jun 2010
Total Posts: 4823
05 Jun 2015 08:34 PM
Whats the difference between a number value and an int value??
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
05 Jun 2015 08:35 PM
int value can only hold integers, numbervalue can hold any number even with fractal part
Report Abuse
v3c3 is not online. v3c3
Joined: 04 Feb 2009
Total Posts: 674
05 Jun 2015 08:35 PM
integers are whole numbers

number values can be decimals I assume
Report Abuse
rayk999 is not online. rayk999
Joined: 18 Feb 2011
Total Posts: 4705
05 Jun 2015 08:35 PM
A number value contains a float value, which'll allow a far greater range of numbers and decimals. An intvalue has a smaller range and no decimals
Report Abuse
bosswalrus is not online. bosswalrus
Joined: 04 Jan 2013
Total Posts: 5430
05 Jun 2015 08:37 PM
Lol this always happens on these questions.

First person: Simple response
Second person: Simple Response + Extra
Third person: Explains in detail.

:p
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
05 Jun 2015 08:42 PM
None of them (or should I say, us) explained it in any detail.
Report Abuse
amanda is not online. amanda
Joined: 21 Nov 2006
Total Posts: 5925
05 Jun 2015 08:45 PM
What is a rational number? What is an integer? What is a rainbow?

Most people think these are all the same thing, however they are not.
Report Abuse
TimeTicks is not online. TimeTicks
Joined: 27 Apr 2011
Total Posts: 27115
05 Jun 2015 08:51 PM
amanda i sent you a message, thanks
Report Abuse
warspyking is not online. warspyking
Joined: 15 Nov 2011
Total Posts: 13947
05 Jun 2015 09:07 PM
An IntValue can only hold integers, in other words whole numbers. These are the numbers that you count with, you probably learned them around grade 1/grade 2, examples:


1, 2, 3, 4, 5, 6, 7, 99, 1919438, 1938485759303


IntValues can also extend into negatives, as long as there are no fractional or decimal parts:


-10, -9, -8, -7, -6, -5, -4, -3, -2, -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10


You can think of them as this huge number line.



NumberValues are very similar, they include the integers, but the also include decimals. If you have done any work with math above primary, you should understand that these are integers and parts of integers. For example, 5 and a half is

5.5

If there is a . (decimal point) in your number, then it cannot be used in an IntValue and must be a NumberValue.

You can also think of fractions, for example


3/5 is a decimal. Writing it as a fraction causes division to occur, which will then return 0.6
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
05 Jun 2015 09:10 PM
warspy, I don't think you know what whole numbers are.
An intvalue holds integers, not whole numbers, integers.
Report Abuse
warspyking is not online. warspyking
Joined: 15 Nov 2011
Total Posts: 13947
05 Jun 2015 09:20 PM
Whole numbers are positive integers, but I also included afterwards, if you didn't notice, integers also include negatives.


What did I do wrong..?
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
05 Jun 2015 09:25 PM
blah I didn't read the whole thing
Report Abuse
warspyking is not online. warspyking
Joined: 15 Nov 2011
Total Posts: 13947
05 Jun 2015 09:32 PM
You never do XD
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