Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 353 Bytes

divide.md

File metadata and controls

22 lines (14 loc) · 353 Bytes

divide()

divides an amount from the money.

Methods

divide(float $number)

Parameters:

  1. float $number - a number on which the money will be divided.

Returns: Money

Usage

$money = money('1000000');  // "$ 100"
$money->divide(2);          // "$ 50"

📌 Back to the contents.