댓글 검색 목록

[php] Brick\Math - 많은 수의 지원을 제공하는 라이브러리 : BigInteger, BigDecimal 및 BigRation…

페이지 정보

작성자 운영자 작성일 20-05-02 12:58 조회 1,013 댓글 0

PHP 용 임의 정밀도 산술 라이브러리 


https://github.com/brick/math 


composer require brick/math


BigInteger::of(123546);
BigInteger::of('9999999999999999999999999999999999999999999');

BigDecimal::of(1.2);
BigDecimal::of('9.99999999999999999999999999999999999999999999');

BigRational::of('2/3');
BigRational::of('1.1'); // 11/10





댓글목록 0

등록된 댓글이 없습니다.

웹학교 로고

온라인 코딩학교

코리아뉴스 2001 - , All right reserved.