【js】两个数相除有余数时结果加12023-01-27 08:23:53var all=15; var item=2; var pages=all%item==0?(all/item):(Math.floor(all/item)+1); console.log(pages)上一篇:uwsgi多进程配合kafka-python消息无法发送下一篇:[翻译] KVNProgress