TAILIEUCHUNG - PHP Developer's Dictionary- P23

PHP Developer's Dictionary- P23:PHP is an open source, server-side, HTML-embedded scripting language used to create dynamically generated Web pages. With an easy-to-use syntax and a large, extensible library of modules, PHP brings together the best of Perl, C++, and other languages. | PHP Developer s Dictionary echo bcmod 15 3 returns 0 echo bcmod 15 4 returns 3 bcmul Syntax string bcmul string left operand string right operand int scale Description The bcmui function calculates the product of the left and right operands. The scale parameter is optional and indicates the number of digits to the right of the decimal point in the result. If scale is omitted it defaults to 0. echo bcmul 2 result is echo bcmul 2 result is echo bcmul 2 result is bcpow Syntax string bcpow string x string y int scale Description The bcpow function returns a string that is x raised to the power y . Note that y must have a scale of 0 or a warning will occur. The scale parameter is optional and indicates the number of digits to the right of the decimal point in the result. If scale is omitted it defaults to 0. echo bcpow 3 2 result is echo bcpow 2 2 result is bcscale Syntax IT-SC book 110 PHP Developer s Dictionary string bcscale int scale Description The bcscaie function sets the scale that all subsequent bcmath functions will use when none is explicitly indicated. The scale parameter is used to indicate the desired precision in the result specifically the number of digits to the right of the decimal point. bcsqrt Syntax string bcsqrt string operand int scale Description The bcsqrt function calculates the square root of the operand . The scale parameter is an optional parameter that indicates the number of digits to the right of the decimal point in the result. If scale is omitted it defaults to 0. echo bcsqrt 2 result is echo bcsqrt 2 result is bcsub Syntax string bcsub string left operand string right operand int scale Description The bcsub function calculates the difference by subtracting the right_operand from the left_operand . The scale parameter is an optional parameter indicating the number of digits to the right of the decimal point in the result. If scale is omitted it

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.