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
math.modf()

math.modf (x) Returns the integral part of x and the fractional part of x. Its second result is always a float.

math.pi

math.pi The value of π.

math.rad()

math.rad (x) Converts the angle x from degrees to radians.

math.random()

math.random ([m [, n]]) When called without arguments, returns a pseudo-random float with uniform distribution in the range [0,1). When called with two integers m and n, math.random returns a pseudo-random integer with uniform distribution in the range [m, n]. (The value n-m cannot be negative and must fit in a Lua integer.) The call math.random(n) is equivalent to math.random(1,n). This function is an interface to the underling pseudo-random generator function provided by C.

math.randomseed()

math.randomseed (x) Sets x as the "seed" for the pseudo-random generator: equal seeds produce equal sequences of numbers.

math.sin()

math.sin (x) Returns the sine of x (assumed to be in radians).

math.sqrt()

math.sqrt (x) Returns the square root of x. (You can also use the expression x^0.5 to compute this value.)

math.tan()

math.tan (x) Returns the tangent of x (assumed to be in radians).

math.tointeger()

math.tointeger (x) If the value x is convertible to an integer, returns that integer. Otherwise, returns nil.

math.type()

math.type (x) Returns "integer" if x is an integer, "float" if it is a float, or nil if x is not a number.

Popular Articles
Queue\Beanstalk\Job::release public release ([mixed $priority], [mixed $delay]) The release command puts a reserved job back into the ready queue (and marks its state as “ready”)
PasswordBroker::sendReminder() int sendReminder(RemindableInterface $user, string $token, Closure $callback = null) Send the password reminder e-mail. Parameters
MessageForm::form public MessageForm::form(array $form, FormStateInterface $form_state) Gets the actual form array to be built. Overrides ContentEntityForm::form See a
not_available not_available() Class Public methods
titleinvoke titleinvoke(idx) Instance Public methods call title cmds


Page 11720 of 11844

|< < Prev 11717 11718 11719 11720 11721 11722 11723 Next > >|
  • Facebook
  • Tweet
  • Digg it
  • Stumbleupon
  • Delicious
  • Plus Share

Designed by : w10schools

service@w10schools.com

Our Partners: aeeble – Providing content publishing and search solutions