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
magnitude

fix.magnitude â integer Instance Public methods Returns the absolute value of fix. -12345.abs #=> 12345 12345.abs #=> 12345

modulo

fix.modulo(other) â real Instance Public methods Returns fix modulo other. See numeric.divmod for more information.

odd?

fix.odd? â true or false Instance Public methods Returns true if fix is an odd number.

power!

power!(other) Instance Public methods Alias for: **

size

fix.size â fixnum Instance Public methods Returns the number of bytes in the machine representation of a Fixnum. 1.size #=> 4 -1.size #=> 4 2147483647.size #=> 4

succ

fixnum.next â integerfixnum.succ â integer Instance Public methods Returns the Integer equal to int + 1. 1.next #=> 2 (-1).next #=> 0

to_f

fix.to_f â float Instance Public methods Converts fix to a Float.

to_s

fix.to_s(base=10) â string Instance Public methods Returns a string containing the representation of fix radix base (between 2 and 36). 12345.to_s #=> "12345" 12345.to_s(2) #=> "11000000111001" 12345.to_s(8) #=> "30071" 12345.to_s(10) #=> "12345" 12345.to_s(16) #=> "3039" 12345.to_s(36) #=> "9ix" inspect

zero?

fix.zero? â true or false Instance Public methods Returns true if fix is zero.

|

fix | integer â integer_result Instance Public methods Bitwise OR.

Popular Articles
linear_model.LogisticRegression() class sklearn.linear_model.LogisticRegression(penalty='l2', dual=False, tol=0.0001, C=1.0, fit_intercept=True, intercept_scaling=1, class_weight=No
tree.ExtraTreeRegressor() class sklearn.tree.ExtraTreeRegressor(criterion='mse', splitter='random', max_depth=None, min_samples_split=2, min_samples_leaf=1, min_weight_fract
delay delay(millisecs=None) Class Public methods
new new(string, to, from) Class Public methods
backend_tools matplotlib.backend_tools Abstract base classes define the primitives for Tools. These tools are used by matplotlib.backend_managers.ToolManager Too


Page 257 of 11844

|< < Prev 254 255 256 257 258 259 260 Next > >|
  • Facebook
  • Tweet
  • Digg it
  • Stumbleupon
  • Delicious
  • Plus Share

Designed by : w10schools

service@w10schools.com

Our Partners: aeeble – Providing content publishing and search solutions