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
Edit
In Place Editing Advanced Editing
  • References
  • PHP
  • Function
  • Mathematics
  • Math

is_finite

(PHP 4 >= 4.2.0, PHP 5, PHP 7)
Finds whether a value is a legal finite number
bool is_finite ( float $val )

Checks whether val is a legal finite on this platform.

Parameters:
val

The value to check

Returns:

TRUE if val is a legal finite number within the allowed range for a PHP float on this platform, else FALSE.

See also:

is_infinite() -

is_nan() -

Links:
  • http://php.net/manual/en/function.is-finite.php
doc_php
doc_php
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.

Popular Articles
decimal.Decimal.is_finite() is_finite() Return True if the argument is a finite number, and False if the argument is an infinity or a NaN.
decimal.Context.is_finite() is_finite(x) Returns True if x is finite; otherwise returns False.
finite? flt.finite? â true or false Instance Public methods Returns true if flt is a valid IEEE floating point number (it is not infinite, an
finite? finite?() Instance Public methods Returns True if the value is finite (not NaN or infinite)
.is() Check the current matched set of elements against a selector, element, or jQuery object and return true if at least one of these elements ma


Return to View
  • Facebook
  • Tweet
  • Digg it
  • Stumbleupon
  • Delicious
  • Plus Share

Designed by : w10schools

service@w10schools.com

Our Partners: aeeble – Providing content publishing and search solutions