$fieldMethods->int()
Alias for Kirby\Content\FieldMethods::toInt()
$fieldMethods->int(int $default = 0): int
Parameters
| Name | Type | Default |
|---|---|---|
| $default | int |
0
|
Return type
int
Parent class
Kirby\Content\FieldMethods