w10schools
Login Register
  • Home
  • Tutorials
    • HTML, CSS
      • HTML, HTML5
      • CSS, CSS3
    • XML
    • JavaScript, AJAX
    • PHP
    • Ruby on Rails
      • Ruby
      • Rails
    • ASP.NET
      • ASP
      • C# .NET
    • Java
      • JSP
    • Databases
      • MySQL
      • MSSQL Server
      • Oracle
    • Web Server
      • Windows
      • Linux
      • Apache
      • IIS
    • Design
      • Dreamweaver
      • Flash
      • Photoshop
      • Fireworks
      • CorelDRAW
      • Illustrator
  • References
    • HTML
      • Bootstrap
    • CSS
      • CSS Selectors
      • Sass
    • JavaScript
    • Mobile Apps
      • Cordova
    • Ruby on Rails
      • Ruby
      • Rails
    • PHP
      • Function
      • Language
      • CodeIgniter
      • Phalcon
      • PHPUnit
      • Symfony
      • Drupal
      • Yii
      • Laravel
    • Perl
      • Perl
    • Python
      • Python
      • Django
      • NumPy
      • Pandas
      • scikit-image
      • scikit-learn
      • Statsmodels
      • Matplotlib
    • Lua
      • Lua
    • C, C++
      • C
      • C++
    • Server
      • Docker
      • Apache HTTP Server
      • Nginx
    • Database
      • PostgreSQL
    • Big Data
      • TensorFlow
    • Game Development
      • Phaser
      • LÖVE
  • Articles
    • News
    • General
      • Website Promotion
      • Online Advertising
      • Make Money Online
    • Editorials
    • Interviews
    • Web Roundups
  • Resources
    • Design
      • Fonts
      • Graphics
      • Vectors
      • Templates
      • UI (User Interface)
      • Brushes
      • Patterns, Backgrounds
      • Textures
    • Web Development
      • HTML, CSS
      • XML
      • JavaScript, AJAX
      • Ruby on Rails
      • PHP
      • Java
      • .NET
      • Python
      • Perl
      • Flash
    • Mobile Application Development
      • Mobile Development Tools
      • Swift
    • Online Services
      • Online Storage
      • Web Hosting
  • Tools
    • Generators
numerator

num.numerator â integer Instance Public methods Returns the numerator.

phase

num.phase â 0 or float Instance Public methods Returns 0 if the value is positive, pi otherwise.

polar

num.polar â array Instance Public methods Returns an array; [num.abs, num.arg].

quo

num.quo(numeric) â real Instance Public methods Returns most exact division (rational for integers, float for floats).

real

num.real â self Instance Public methods Returns self.

real?

num.real? â true or false Instance Public methods Returns true if num is a Real (i.e. non Complex).

rect

num.rect â array Instance Public methods Returns an array; [num, 0].

rectangular

num.rect â array Instance Public methods Returns an array; [num, 0].

remainder

num.remainder(numeric) â real Instance Public methods x.remainder(y) means x-y*(x/y).truncate See Numeric#divmod.

round

num.round([ndigits]) â integer or float Instance Public methods Rounds num to a given precision in decimal digits (default 0 digits). Precision may be negative. Returns a floating point number when ndigits is more than zero. Numeric implements this by converting itself to a Float and invoking Float#round.

Popular Articles
love.filesystem.load love.filesystem.load Loads a Lua file (but does not run it). Function Synopsis chunk, errormsg = love.filesystem.load( name ) Arguments string name
FieldableEntityInterface::bundleFieldDefinitions public static FieldableEntityInterface::bundleFieldDefinitions(EntityTypeInterface $entity_type, $bundle, array $base_field_definitions) Provides fie
String Operators Examples: There are two string operators. The first is the concatenation operator ('.'), which returns the concatenation o
BaseYii setLogger() setLogger() public static method Sets the logger object. public static void setLogger ( $logger )$logger yii\log\Logger The logger object.
db\Transaction $db $db public property The database connection that this transaction is associated with. public yii\db\Connection $db = null


Page 658 of 11844

|< < Prev 655 656 657 658 659 660 661 Next > >|
  • Facebook
  • Tweet
  • Digg it
  • Stumbleupon
  • Delicious
  • Plus Share

Designed by : w10schools

service@w10schools.com

Our Partners: aeeble – Providing content publishing and search solutions