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
singleton_method_added

singleton_method_added(p1) Instance Public methods Trap attempts to add methods to Numeric objects. Always raises a TypeError

step

num.step(limit[, step]) {|i| block } â selfnum.step(limit[, step]) â an_enumerator Instance Public methods Invokes block with the sequence of numbers starting at num, incremented by step (default 1) on each call. The loop finishes when the value to be passed to the block is greater than limit (if step is positive) or less than limit (if step is negative). If all the arguments are integers, the loop operates using an integer counter. If any of the arguments are flo

to_c

num.to_c â complex Instance Public methods Returns the value as a complex.

to_int

num.to_int â integer Instance Public methods Invokes the child class's to_i method to convert num to an integer. 1.0.class => Float 1.0.to_int.class => Fixnum 1.0.to_i.class => Fixnum

truncate

num.truncate â integer Instance Public methods Returns num truncated to an integer. Numeric implements this by converting its value to a float and invoking Float#truncate.

zero?

num.zero? â true or false Instance Public methods Returns true if num has a zero value.

__check_proc_string__

__check_proc_string__(str) Class Public methods

const_missing

const_missing(c) Class Public methods

new

new(src) Class Public methods

output=

output=(output) Class Public methods

Popular Articles
StringTranslationTrait::setStringTranslation public StringTranslationTrait::setStringTranslation(TranslationInterface $translation) Sets the string translation service to use. Parameters \Drupa
doctest.DocTestRunner.report_failure() report_failure(out, test, example, got) Report that the given example failed. This method is provided to allow subclasses of DocTestRunner to cust
Code Coverage Analysis In computer science, code coverage is a measure used to describe the degree to which the source code of a program is tested by a particular test s
tcp_nodelay Syntax: tcp_nodelay on | off; Default: tcp_nodelay on; Context: http, server, location Enables or disables the use of the TCP_NODELAY op
band.domain() band.domain([domain]) If domain is specified, sets the domain to the specified array of values. The first element in domain will be mapped to the


Page 659 of 11844

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

Designed by : w10schools

service@w10schools.com

Our Partners: aeeble – Providing content publishing and search solutions