Fonctions mathématiques PHP


Présentation Math PHP

Les fonctions mathématiques peut manipuler des valeurs au sein de la gamme de nombres entiers et les types de flotteurs.

Installation

Les fonctions mathématiques font partie du coeur de PHP. Il n'y a pas d'installation nécessaire pour utiliser ces fonctions.

Fonctions mathématiques PHP

PHP : indique la première version de PHP qui prend en charge la fonction.
FonctionDescriptionPHP
abs ()Renvoie la valeur absolue d'un nombre3
acos ()Renvoie l'arccosinus d'un certain nombre3
acosh ()Retourne le cosinus hyperbolique inverse d'un certain nombre4
asin ()Renvoie l'arcsinus d'un nombre3
asinh ()Renvoie le sinus hyperbolique inverse d'un certain nombre4
atan ()Renvoie l'arctangente d'un nombre comme une valeur numérique entre-PI / 2 et PI / 2 radians3
atan2 ()Retourne l'angle thêta d'un point (x, y) comme une valeur numérique entre-PI et PI radians3
atanh ()Renvoie la tangente hyperbolique inverse d'un certain nombre4
base_convert ()Convertit un nombre d'une base à une autre3
bindec ()Convertit un nombre binaire en un nombre décimal3
ceil ()Renvoie la valeur d'un certain nombre arrondi à l'entier le plus proche3
cos ()Retourne le cosinus d'un nombre3
cosh ()Renvoie le cosinus hyperbolique d'un nombre4
decbin ()Convertit un nombre décimal en un nombre binaire3
dechex ()Convertit un nombre décimal en un nombre hexadécimal3
decoct ()Convertit un nombre décimal en un nombre octal3
deg2rad ()Convertit un degré à un certain nombre radian3
exp ()Retourne la valeur de E x3
expm1 ()Retourne la valeur de E x - 14
plancher ()Retourne la valeur d'un nombre arrondi vers le bas pour l'entier le plus proche3
fmod ()Retourne le reste (modulo) de la division des arguments4
Retourne le nombre maximal aléatoire qui peut être retourné par un appel à la fonction rand ()3
hexdec ()Convertit un nombre hexadécimal en un nombre décimal3
hypot ()Renvoie la longueur de l'hypoténuse d'un triangle à angle droit4
is_finite ()Renvoie true si une valeur est un nombre fini4
is_infinite ()Renvoie true si une valeur est un nombre infini4
is_nan ()Renvoie true si une valeur n'est pas un nombre4
lcg_value ()Renvoie un nombre pseudo-aléatoire dans l'intervalle de (0,1)4
log ()Renvoie le logarithme naturel (base e) d'un certain nombre3
log10 ()Renvoie le logarithme en base 10 d'un certain nombre3
log1p ()Retours journal (1 + numéro)4
max ()Retourne le numéro avec la valeur la plus élevée de deux nombres spécifiés3
min ()Retourne le nombre avec la valeur la plus basse de deux nombres spécifiés3
mt_getrandmax ()Renvoie la valeur la plus grande possible qui peut être retourné par mt_rand ()3
mt_rand ()Renvoie un entier aléatoire en utilisant l'algorithme Mersenne Twister3
mt_srand ()Graines du Mersenne Twister générateur de nombres aléatoires3
octdec ()Convertit un nombre octal en un nombre décimal3
pi ()Retourne la valeur de PI3
pow ()Retourne la valeur de x à la puissance y3
rad2deg ()Convertit un nombre en radians à un degré3
rand ()Renvoie un entier aléatoire3
ronde ()Arrondit un nombre à l'entier le plus proche3
sin ()Retourne le sinus d'un nombre3
sinh ()Renvoie le sinus hyperbolique d'un nombre4
sqrt ()Renvoie la racine carrée d'un nombre3
srand ()Graines du générateur de nombres aléatoires3
tan ()Renvoie la tangente d'un angle3
tanh ()Renvoie la tangente hyperbolique d'un angle4


Constantes mathématiques PHP

PHP : indique la première version de PHP qui prend en charge la constante.
ConstanteDescriptionPHP
M_eE retour (env. 2,718)4
M_EULERRetourne la constante d'Euler (env. 0,577)4
M_LNPIRetourne le logarithme naturel de la PI (env. 1.144)4
M_LN2Retourne le logarithme naturel de 2 (environ 0.693)4
M_LN10Retourne le logarithme naturel de 10 (env. 2.302)4
M_LOG2ERenvoie le logarithme en base 2 de E (env. 1.442)4
M_LOG10ERenvoie le logarithme en base 10 de E (env. 0,434)4
M_PIRetours PI (env. 3,14159)3
M_PI_2Retours PI / 2 (env. 1.570)4
M_PI_4Retours PI / 4 (environ 0,785)4
M_1_PIRetours 1/Pi (env. 0.318)4
M_2_PIRetours 2/PI (env. 0.636)4
M_SQRTPIRenvoie la racine carrée de la PI (env. 1.772)4
M_2_SQRTPIRetours 2/square racine de PI (env. 1.128)4
M_SQRT1_2Renvoie la racine carrée de la moitié (environ 0.707)4
M_SQRT2Renvoie la racine carrée de 2 (environ 1.414)4
M_SQRT3Retourne la racine carrée de 3 (environ 1,732)4

22 commentaires:

  1. Hey very nice website!! Guy .. Excellent .. Wonderful ..
    I will bookmark your site and take the feeds additionally?
    I'm glad to search out numerous helpful info right here in the put up, we want develop more techniques on this regard, thanks for sharing. . . . . .
    hardwood flooring

    My weblog ... engineered hardwood flooring

    ReplyDelete
  2. This post will help the internet users for building up new website or even a weblog from
    start to end.

    Feel free to visit my webpage: housekeeping duties list

    ReplyDelete
  3. My developer is trying to convince me to move to .net from PHP.

    I have always disliked the idea because of the
    expenses. But he's tryiong none the less. I've been
    using WordPress on numerous websites for about
    a year and am anxious about switching to another platform.
    I have heard very good things about blogengine.
    net. Is there a way I can transfer all my wordpress content into
    it? Any help would be really appreciated!

    Look at my homepage: hardwood floors

    ReplyDelete
  4. I just like the valuable info you provide for your articles.
    I will bookmark your weblog and test once more here
    regularly. I'm fairly certain I will be informed many new stuff proper right here! Good luck for the following!

    Also visit my blog - zetaclear reviews

    ReplyDelete
  5. When I originally commented I clicked the "Notify me when new comments are added" checkbox and now each time a comment is added I
    get three e-mails with the same comment. Is there any way you can remove me from that service?

    Thank you!

    My web-site :: glass tile store

    ReplyDelete
  6. I needed to thank you for this excellent read!! I absolutely loved every little bit of it.
    I've got you saved as a favorite to look at new stuff you post…
    used furniture

    Here is my page: showing love

    ReplyDelete
  7. I love reading through an article that can
    make people think. Also, many thanks for permitting
    me to comment!

    Here is my web site Louis Vuitton Handbags

    ReplyDelete
  8. Good answer back in return of this issue with
    genuine arguments and explaining everything regarding that.


    Stop by my homepage ... Nike Free Run Sko

    ReplyDelete
  9. Yesterday, while I was at work, my cousin stole
    my apple ipad and tested to see if it can survive a thirty foot drop, just so she can be a youtube sensation.

    My apple ipad is now destroyed and she has 83 views. I know this is entirely off topic but I had to share it with someone!


    my webpage Discover More Here

    ReplyDelete
  10. Thanks a lot for sharing this with all folks you really recognize
    what you are talking about! Bookmarked. Kindly additionally consult with my website =).
    We will have a link alternate arrangement among us

    Feel free to visit my page; helpful resources

    ReplyDelete
  11. Appreciate this post. Let me try it out.

    Here is my web-site Visit Website

    ReplyDelete
  12. Aw, this was a very good post. Taking the time and actual effort to make a top
    notch article… but what can I say… I hesitate a whole lot and don't manage to get nearly anything done.

    my blog: Louis Vuitton Purses Outlet

    ReplyDelete
  13. My spouse and I absolutely love your blog and find almost all of
    your post's to be precisely what I'm looking for.
    can you offer guest writers to write content in
    your case? I wouldn't mind composing a post or elaborating on a number of the subjects you write with regards to here. Again, awesome website!

    my web page; Air Max Pas Cher

    ReplyDelete
  14. Greetings I am so happy I found your web site, I really found you by accident, while I was searching on Google for something else, Anyways I
    am here now and would just like to say kudos for a marvelous post and a all round
    exciting blog (I also love the theme/design), I don’t have time to read it
    all at the moment but I have bookmarked it and also added your RSS
    feeds, so when I have time I will be back to read a great deal more, Please do keep up the excellent jo.


    Review my weblog ... NFL wholesale Jerseys

    ReplyDelete
  15. When I originally commented I clicked the "Notify me when new comments are added" checkbox
    and now each time a comment is added I get several emails with
    the same comment. Is there any way you can remove people from that service?
    Appreciate it!

    Take a look at my web blog Cheap Jerseys

    ReplyDelete
  16. I am curious to find out what blog system you
    happen to be working with? I'm experiencing some minor security issues with my latest website and I'd like to
    find something more safeguarded. Do you have any recommendations?



    Feel free to surf to my blog post: Sac Louis Vuitton [http://smu-fr.org/louisvuittonpascher.html]

    ReplyDelete
  17. Thank you for the good writeup. It in fact was a amusement
    account it. Look advanced to far added agreeable
    from you! By the way, how can we communicate?

    My homepage Tory Burch Shoes

    ReplyDelete
  18. Saved as a favorite, I love your blog!

    my website; Kobe Bryant Shoes 2013 - -

    ReplyDelete
  19. It's a shame you don't have a donate button! I'd most certainly donate to this fantastic blog! I guess for now i'll settle for
    bookmarking and adding your RSS feed to my Google account. I look forward to brand new
    updates and will talk about this blog with my Facebook
    group. Talk soon!

    My web site - Air Max 1

    ReplyDelete
  20. Hmm it looks like your website ate my first comment (it was super long) so
    I guess I'll just sum it up what I had written and say, I'm thoroughly enjoying your blog.
    I as well am an aspiring blog blogger but I'm still new to everything. Do you have any recommendations for inexperienced blog writers? I'd definitely
    appreciate it.

    my webpage - Boutique Air Max

    ReplyDelete
  21. Hello, after reading this remarkable piece of writing i am also happy to share my know-how here with mates.


    Feel free to surf to my web site Boutique Air Max

    ReplyDelete
  22. An outstanding share! I've just forwarded this onto a colleague who had been doing a little research on this. And he in fact bought me lunch because I stumbled upon it for him... lol. So let me reword this.... Thank YOU for the meal!! But yeah, thanks for spending the time to talk about this subject here on your website.

    Here is my website :: Air Max

    ReplyDelete

HELLO VISITORS THANKS FOR YOUR VISIT AND COMMENT