diff --git a/crates/nu-command/src/math/ceil.rs b/crates/nu-command/src/math/ceil.rs index 2dd26f769f..e345e5a242 100644 --- a/crates/nu-command/src/math/ceil.rs +++ b/crates/nu-command/src/math/ceil.rs @@ -16,7 +16,7 @@ impl Command for SubCommand { (Type::Number, Type::Int), ( Type::List(Box::new(Type::Number)), - Type::List(Box::new(Type::Number)), + Type::List(Box::new(Type::Int)), ), ]) .allow_variants_without_examples(true) diff --git a/crates/nu-command/src/math/floor.rs b/crates/nu-command/src/math/floor.rs index beab1159e2..f60958254e 100644 --- a/crates/nu-command/src/math/floor.rs +++ b/crates/nu-command/src/math/floor.rs @@ -16,7 +16,7 @@ impl Command for SubCommand { (Type::Number, Type::Int), ( Type::List(Box::new(Type::Number)), - Type::List(Box::new(Type::Number)), + Type::List(Box::new(Type::Int)), ), ]) .allow_variants_without_examples(true)