定制 hichxm/mather 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

hichxm/mather

Composer 安装命令:

composer require hichxm/mather

包简介

Mathematical packet 100% PHP

README 文档

README

Mather is a library that will allow you to facilitate your mathematical operations in PHP, without using an external library.

Example

Simple operations:

use Hichxm\Mather\Mather;

Mather::sum(10, 15); // return int(25)
Mather::sum(5, 0.5); // return float(5.5)

Mather::total(10, 15); // return int(25)
Mather::total(5, 0.5); // return float(5.5)

Mather::sub(10, 15); // return int(-5)
Mather::sub(0, 0.5); // return float(-0.5)

Mather::subtract(10, 15); // return int(-5)
Mather::subtract(0, 0.5); // return float(-0.5)

Lot of constant:

use Hichxm\Mather\Mather;

Mather::PI(); // 3.14...
Mather::PLANCK(); // 6.62607004 x 10^-34
Mather::LIGHT_SPEED(); // 299792458
Mather::MEISSEL_MERTENS(); // 0.26149...

...

Read documentation

统计信息

  • 总下载量: 9
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-10-06

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固