IndexPythonJapaneseChainmailleLeather

Round Function

round(number, digits) - Rounds the number in parenthesis to the number of digits given as an option arguement.
  Without digits, round() defaults to a whole number.
  Absolute value is represented by ||.
   |2| = 2
   |-2| = 2

  Examples:

   round(3.14159)
    3

   round(3.14159, 1)
    3.1

   round(3.14159, 2)
    3.14

   round(3.14159, 5)
    3.14159

   round(3.14159, 10)
    3.14159

*Note = As shown above, round will NOT add zeros to the end. It only goes to the least significant bit.
HomeData TypesVariablesFunctionsEscape SequencesProgram Comments