Digital FXtbook
Easy Contacts
  • Home
    • Software
    • The Author
    • Former Students Hall of Fame
    • A tribute....
  • 3d Training
    • Gaming >
      • Unity >
        • Unity Essentials >
          • Introduction >
            • 3d Gaming Essentials
            • The Floor is Lava Name Project
          • Introduction to Scripting >
            • Getting Started with Scripting
            • Default Scripting
            • Scripting a Game Object
          • Final Exam Project choice #1
          • Final Exam Project choice #2
          • Real Time Audio >
            • Adding Background Music
            • 3-d Audio effects
          • 2d Essentials >
            • 2d Game Objects
            • Objects on 2d Game Objects
          • Real Time Industry
        • Creative Core >
          • Introduction to Creative Core
          • Shaders and Materials
          • Lighting
          • Animation
          • VFX
          • Cameras
          • Post Processing
          • Audio
          • User Interface
          • Proto-Typing
      • Maya >
        • Modeling >
          • Introduction: The Temple
          • Name Text Curve
          • Minecraft Steve
          • Minecraft Tools and Weapons
          • Roblox Character modeling
          • Garbage Can
          • Hammer
          • Sword of Light
          • Buzz Axe
          • Halo 1 Blood Gulch Base
          • Hammer
          • Sword
          • Character Modeling Big Daddy
          • Shield
          • The OM6G
          • Weapon
          • Character Modeling Legion the Geth
          • Character Modeling Geth Armor
        • Animation >
          • Character Animation
        • Rigging >
          • Rigging with HumanIK
          • Characterizing and MoCap
          • Integration with Unity
    • Fundamentals of 3d >
      • AutoDesk
      • Introduction: The Temple
      • Creating a Film >
        • Scriptwriting and Planning
        • StoryBoarding
        • Story Reels
      • Modeling >
        • The Nail
        • First Freestyle Lesson >
          • Cup and Straw
          • Garbage Can
        • Fence
        • Hammer
        • House
        • Environment Bubble
      • Animation >
        • Beginning Animation
        • Animation - Walk Cycle
        • Facial Animation
      • Rendering >
        • Arnold Rendering
      • Editing film >
        • Credits
        • Video Editing
      • Characters
    • Advanced Maya >
      • Modeling and Rigging >
        • Linda Training >
          • Advanced Modeling >
            • Modeling Basics
            • Modeling Room Objects
          • Rigging >
            • Rigging Basics
            • Rigging Creating Skeletons
            • Rigging: Body Controls
            • Rigging: Hands
            • Rigging: Skinning
        • Modeling >
          • Image Planes
          • Polygon Modeling >
            • Coke Can
            • Low Polygon Character
            • Character Modeling Legion the Geth
            • Character Modeling Geth Armor
            • Face Modeling
          • NURBS Modeling >
            • Intro to NURBS
            • Lofting
            • CV Curves
            • Organic Modeling
            • Autombile
        • Texturing
        • Rigging >
          • Rigging with HumanIK
          • Smooth Skinning
        • Motion Capture
        • Blender
      • 3d Animation >
        • Linda Training >
          • Animation - Fundamentals
          • Animation - Next Steps
          • Animation - Pose to Pose
          • Animation - Facial Animation
          • Animation - Lip and Body Animation
        • Arnold Rendering
        • Reference Videos
        • Beginning Animation
        • Characters
  • Coding
    • C# Programming >
      • Beginning C# >
        • First Unit >
          • First Program
          • Comments >
            • PsuedoCode
          • Variable Types >
            • AlphaNumeric Variables
            • Numeric Variables
          • Getting input from the user
          • Operators >
            • Assignment and Arithmetic Operators >
              • Use of Parenthesis
              • Algebra in code and assundry CHAOS
            • Comparison and Logical Operators >
              • Logical Data, Illogical Assignment
            • Operator Assignments >
              • Floats Conversion from Metric to English
              • When is Easter??
          • Try and Catch
          • Casting
        • Second Unit >
          • Conditional Statements >
            • Number validator
            • Number tester
            • Speed Camera
          • Random Class
          • Arrays >
            • Simple Arrays
            • Complex Arrays
          • Loops >
            • For Loops >
              • Adding Numbers
            • For Each Loops
            • While Loops
            • Do While Loops
        • Third Unit
      • Intermediate C# >
        • Object Oriented Programming
    • Unity Coding >
      • Junior Programmer >
        • Create with Code 1
        • Create with Code 2
        • Manage Scene Flow and Data
        • Apply Object-Oriented Principles
      • Introduction Unity Lesson
      • Number Wizard Game #1
      • Second Unity Game: Text Adventure
      • Number Wizard Game GUI
      • Block Breaker >
        • Block Breaker Game #1
        • Block Breaker Game #2
        • Block Breaker Game #3
        • Block Breaker Game #4
  • Student Films
    • Advanced Student's movies
    • Beginning Student's movies
  • Adobe
    • Premier >
      • Chapter 1
      • Chapter 2
      • Chapter 3
      • Editing A-Roll
      • Chapter 4
      • Editing B-Roll
      • Chapter 5
      • Chapter 6
      • Chapter 7
      • Chapter 8
      • Chapter 9
      • Chapter 10
      • Chapter 11
      • Chapter 12
    • Photoshop >
      • Introduction
      • Selection Tools >
        • Melonhead >
          • Melonhead Creative
        • Breakfast Lunch or Dinner
        • Blu 42
      • Painting Tools >
        • Invisi-World
        • Image Adjustment
        • FreeStyle project
      • Drawing Tools
  • Links
    • BPA >
      • Futuristic Character >
        • Design and Concept
    • The Top Six Animation Schools
    • The Top Video Game Design Schools

Numeric Variables

in our previous section we talked about this AlphNumeric variable types. In this section we are going to talk about its counter part numeric Variables. Numeric variables give the us the opportunity to take data and use it mathematically. The four variables that we work with the most are

int, long, float and double 

int - is a variable type that can store a large whole number.
The range for an in is -2147483648 to 2147483647.
You may notice that the positive number is one smaller than the negative number. The reason for this is that the computer recognizes 0 as a positive number.  


long - is a variable type that can store a much larger whole number.
The range for an in is -9223372036854775808 to 944227203685477807.
​You may notice that the positive number is one smaller than the negative number. Once again the reason for this is that the computer recognizes 0 as a positive number.  


float - is a variable type that can store a number with a decimal point. The number that can be store in this variable type is pretty huge or pretty small. it depends on how many numbers you have following the decimal point instead of leading it. 
The number that it can store is 3.4e to the power of -38 - to - 3.4e to the power of 38. 


double - is a variable type that can store a number with a decimal point. The number that can be store in this variable type is pretty huge or pretty small. it depends on how many numbers you have following the decimal point instead of leading it. 
The number that it can store is 1.7e to the power of -308 to 1.7e to the power of 308.
Very rarely do we ever need a number this large so we use floats most commonly 
  

The Videos

Intro

Order of Operation and Operators

Modulo, Increment, Decrement

.NET Framework

The Assignment

Where do the numbers go?

Copy and paste the following block of PsuedoCode into Visual Studios.
1. Create variables for every line of PsuedoCode that needs one.
2. For other lines of PsuedoCode Print out what is contained in those variables to the console.
3. Use Concatenation to output correct lines of text to the Console, when needed.
4. Screen shot your code (including your name block) and your Console results
​5. Turn both Screenshots into google Classroom



​Psuedocode

// First variable should contain this number 3.14 and be named Pi
// Second
variable should contain the number 457 and be named Num1
// Third variable should contain the number 782 and be named Num2
// Fourth variable should contain the 25.5 and should be named building Height
// Write this message out to the console, The mathematical number of pi is (insert variable) we use it to figure out dimensions for a circle
// Write this message out to the console, If I have a circle that has a radius of (insert variable Num1) and we square it and multiply it by pi (insert variable Pi), we can find out what the are of that circle
// Write this message out to the console, The other two numbers that we can work with are (insert Num1) and (insert nNum2)

Proudly powered by Weebly