Merge pull request #32788 from s-aga-r/fix/github-issue/30339

fix: use `flt` instead of `cint` in `get_batch_no`