Name | Description |
---|---|
numberToWord | Convert a number to its word representation. |
sq | Calculate the price per square foot. |
Description
public static numberToWord (int $number)
Convert a number to its word representation.
Parameters
(int) $number
: The number to convert. Return Values
string
The word representation.
Description
public static sq (float $w, float $h, float $p)
Calculate the price per square foot.
Parameters
(float) $w
: Width.*(float) $h
: Height.*(float) $p
: Price. Return Values
string
The calculated price.