super-powers/src/152c8793-8b75-4715-996a-257...
Robot b727169617
update 2023-08-18 07:57:37
2023-08-18 07:57:37 +02:00
..
README.md update 2023-08-18 07:57:37 2023-08-18 07:57:37 +02:00
code.php update 2023-08-18 07:57:37 2023-08-18 07:57:37 +02:00
code.power update 2023-08-18 07:57:37 2023-08-18 07:57:37 +02:00
settings.json update 2023-04-15 16:49:30 2023-04-15 16:49:41 +02:00

README.md

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

abstract class MathHelper (Details)

namespace: VDM\Joomla\Utilities

@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