无涯教程-JavaScript - REPT函数
描述
REPT函数将文本重复给定的次数。使用REPT可以用多个文本字符串填充单元格。
语法
REPT (text, number_times)
争论
| Argument | 描述 | Required/Optional |
|---|---|---|
| Text | The text you want to repeat. | Required |
| Number_times | A positive number specifying the number of times to repeat text. | Required |
Notes
-
如果number_times为0(零),则REPT返回""(空文本)。
-
如果number_times不是整数,则会被截断。
-
REPT函数的输出不能超过32,767个字符,否则REPT返回#VALUE!错误值。
适用性
Excel 2007,Excel 2010,Excel 2013,Excel 2016
Example
JavaScript 中的 REPT函数 - 无涯教程网无涯教程网提供描述REPT函数将文本重复给定的次数。使用REPT可以用多个文本字符串填充单元格。 语法...
https://www.learnfk.com/javascript/advanced-excel-statistical-rept-function.html
本文来自互联网用户投稿,文章观点仅代表作者本人,不代表本站立场,不承担相关法律责任。如若转载,请注明出处。 如若内容造成侵权/违法违规/事实不符,请点击【内容举报】进行投诉反馈!
