super-powers/src/152c8793-8b75-4715-996a-257b9f65451c
2024-06-21 14:01:19 +02:00
..
code.php Update 2024-06-21 14:01:13 2024-06-21 14:01:19 +02:00
code.power update 2023-08-18 07:57:37 2023-08-18 07:57:37 +02:00
README.md Update 2024-06-21 14:01:13 2024-06-21 14:01:19 +02:00
settings.json Update 2024-06-21 14:01:13 2024-06-21 14:01:19 +02:00

██████╗  ██████╗ ██╗    ██╗███████╗██████╗
██╔══██╗██╔═══██╗██║    ██║██╔════╝██╔══██╗
██████╔╝██║   ██║██║ █╗ ██║█████╗  ██████╔╝
██╔═══╝ ██║   ██║██║███╗██║██╔══╝  ██╔══██╗
██║     ╚██████╔╝╚███╔███╔╝███████╗██║  ██║
╚═╝      ╚═════╝  ╚══╝╚══╝ ╚══════╝╚═╝  ╚═╝

abstract class MathHelper (Details)

namespace: VDM\Joomla\Utilities extends: ****

@startuml
abstract MathHelper  #Orange {
  + {static} bc(string $type, int $val1, ...) : string|int|null|bool
  + {static} sum(array $array, int $scale = 4) : float
}

note right of MathHelper::bc
  bc math wrapper (very basic not for accounting)

  since: 3.0.9
  return: string|int|null|bool
  
  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