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
to_f

flt.to_f â self Instance Public methods As flt is already a float, returns self.

to_i

flt.to_i â integerflt.to_int â integer Instance Public methods Returns flt truncated to an Integer.

to_int

flt.to_int â integer Instance Public methods Returns flt truncated to an Integer.

to_r

flt.to_r â rational Instance Public methods Returns the value as a rational. NOTE: 0.3.to_r isn't the same as '0.3'.to_r. The latter is equivalent to '3/10'.to_r, but the former isn't so. 2.0.to_r #=> (2/1) 2.5.to_r #=> (5/2) -0.75.to_r #=> (-3/4) 0.0.to_r #=> (0/1) See rationalize.

to_s

flt.to_s â string Instance Public methods Returns a string containing a representation of self. As well as a fixed or exponential form of the number, the call may return âNaN'', âInfinity'', and â-Infinity''. inspect

truncate

flt.truncate â integer Instance Public methods Returns flt truncated to an Integer.

zero?

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

actual

actual(fnt, option=nil) Class Public methods

actual_displayof

actual_displayof(fnt, win, option=nil) Class Public methods

actual_hash

actual_hash(fnt, option=nil) Class Public methods

Popular Articles
VARProcess.is_stable() statsmodels.tsa.vector_ar.var_model.VARProcess.is_stable VARProcess.is_stable(verbose=False) [source] Determine stability based on model coefficie
glDatePicker - A customizable date picker jQuery plugin glDatePicker is an ultra-simple, customizable, light-weight date picker plugin for jQuery.   glDatePicker - Features: Stylize current date, selecte
TAP::Harness - Run test scripts with statistics NAME VERSION DESCRIPTION SYNOPSIS METHODSClass Methods Instance Methods CONFIGURINGPlugins Module::Build ExtUtils::MakeMaker prove WRITING PLUGIN
MultiIndex / Advanced Indexing This section covers indexing with a MultiIndex and more advanced indexing features. See the Indexing and Selecting Data for general indexing documen
open - perl pragma to set default PerlIO layers for input and output NAME SYNOPSIS DESCRIPTION NONPERLIO FUNCTIONALITY IMPLEMENTATION DETAILS SEE ALSO NAME open - perl pragma to set default PerlIO layers for input an


Page 262 of 11844

|< < Prev 259 260 261 262 263 264 265 Next > >|
  • Facebook
  • Tweet
  • Digg it
  • Stumbleupon
  • Delicious
  • Plus Share

Designed by : w10schools

service@w10schools.com

Our Partners: aeeble – Providing content publishing and search solutions