MMOframework
Pourquoi l'IA Playground Bibliothèques Documentation Rechercher Agence
FR EN
Index

cPrefix

MMO\math\enums · 1 symbole · générée le 27 Oct 2026

enum

cPrefix

cPrefix.php:4
enum MMO\math\enums\cPrefix: string
Espace de noms
MMO\math\enums

Constantes12

Centi

const Centi = MMO\math\enums\cPrefix::Centi

Deca

const Deca = MMO\math\enums\cPrefix::Deca

Deci

const Deci = MMO\math\enums\cPrefix::Deci

Giga

const Giga = MMO\math\enums\cPrefix::Giga

Hecto

const Hecto = MMO\math\enums\cPrefix::Hecto

Kilo

const Kilo = MMO\math\enums\cPrefix::Kilo

Mega

const Mega = MMO\math\enums\cPrefix::Mega

Micro

const Micro = MMO\math\enums\cPrefix::Micro

Milli

const Milli = MMO\math\enums\cPrefix::Milli

Nano

const Nano = MMO\math\enums\cPrefix::Nano

Pico

const Pico = MMO\math\enums\cPrefix::Pico

Tera

const Tera = MMO\math\enums\cPrefix::Tera

Propriétés2

name

readonly
readonly string $name
Type
string

value

readonly
readonly string $value
Type
string

Méthodes5

cases()

static
static function cases(): array
retournearray

from($value)

static
static function from(string|int $value): static
$valuestring | int
retournestatic

FromFactor($factor, $power)

staticcPrefix.php:35
static function FromFactor(float $factor, float $power = 1.0): ?MMO\math\enums\cPrefix
$factorfloat
$power = 1.0float
retournenull | cPrefix

tryFrom($value)

static
static function tryFrom(string|int $value): ?static
$valuestring | int
retournenull | static