use int instead of float for spinner value

This commit is contained in:
Thomas Rupprecht 2022-12-08 23:15:20 +01:00 committed by Michael Weimann
parent ece4d261c4
commit c906af1010
1 changed files with 2 additions and 2 deletions

View File

@ -20,10 +20,10 @@ function form_hidden($name, $value)
* *
* @param string $name * @param string $name
* @param string $label * @param string $label
* @param float $value * @param int $value
* @return string * @return string
*/ */
function form_spinner(string $name, string $label, float $value) function form_spinner(string $name, string $label, int $value)
{ {
$id = 'spinner-' . $name; $id = 'spinner-' . $name;