super-powers/src/152c8793-8b75-4715-996a-257.../README.md

52 lines
1.7 KiB
Markdown
Raw Permalink Normal View History

2023-03-21 22:43:11 +00:00
```
██████╗ ██████╗ ██╗ ██╗███████╗██████╗
██╔══██╗██╔═══██╗██║ ██║██╔════╝██╔══██╗
██████╔╝██║ ██║██║ █╗ ██║█████╗ ██████╔╝
██╔═══╝ ██║ ██║██║███╗██║██╔══╝ ██╔══██╗
██║ ╚██████╔╝╚███╔███╔╝███████╗██║ ██║
╚═╝ ╚═════╝ ╚══╝╚══╝ ╚══════╝╚═╝ ╚═╝
```
# abstract class MathHelper (Details)
> namespace: **VDM\Joomla\Utilities**
```uml
@startuml
abstract MathHelper #Orange {
2023-08-18 05:49:54 +00:00
+ {static} bc(string $type, int $val1, ...) : string|int|null|bool
+ {static} sum(array $array, int $scale = 4) : float
2023-03-21 22:43:11 +00:00
}
note right of MathHelper::bc
bc math wrapper (very basic not for accounting)
since: 3.0.9
2023-08-18 05:49:54 +00:00
return: string|int|null|bool
2023-03-21 22:43:11 +00:00
arguments:
string $type
int $val1
int $val2
int $scale
end note
note right of MathHelper::sum
Basic sum of an array with more precision
since: 3.0.9
return: float
end note
@enduml
```
---
```
██╗ ██████╗██████╗
██║██╔════╝██╔══██╗
██║██║ ██████╔╝
██ ██║██║ ██╔══██╗
╚█████╔╝╚██████╗██████╔╝
╚════╝ ╚═════╝╚═════╝
```
> Build with [Joomla Component Builder](https://git.vdm.dev/joomla/Component-Builder)