self::MAX_CENTS ? null : $cents; } /** Cents → the string the form shows, with a decimal comma. */ public static function fromCents(int $cents): string { return number_format($cents / 100, 2, ',', ''); } }