当前位置:网站首页>Get the list of a column in phpexcel get the letters of a column
Get the list of a column in phpexcel get the letters of a column
2022-07-01 09:19:00 【What about your long love~】
function get_zimu($index, $start = 65)
{
$str = '';
if (floor($index / 26) > 0){
$str .= get_zimu(floor($index / 26) - 1);
}
return $str . chr($index % 26 + $start);
}
test
get_zimu('1') #A
get_zimu('27') #AB
边栏推荐
- LeetCode 344. Reverse string
- pcl_viewer命令
- Win7 pyinstaller reports an error DLL load failed while importing after packaging exe_ Socket: parameter error
- 闭包实现迭代器效果
- Redis source code learning (29), compressed list learning, ziplist C (II)
- Reproduced Xray - cve-2017-7921 (unauthorized access by Hikvision)
- PR training notes
- 利用闭包实现私有变量
- Preparing for the Blue Bridge Cup -- bit operation
- [ESP nanny level tutorial preview] crazy node JS server - Case: esp8266 + DHT11 +nodejs local service + MySQL database
猜你喜欢

Understanding and implementation of AVL tree

【pytorch】softmax函数
![2.3 [kaggle dataset - dog feed example] data preprocessing, rewriting dataset, dataloader reading data](/img/6e/d8ef618127ac492f5142f7b600266d.png)
2.3 [kaggle dataset - dog feed example] data preprocessing, rewriting dataset, dataloader reading data

Imitation of Baidu search results top navigation bar effect

Principle and application of single chip microcomputer timer, serial communication and interrupt system

【pytorch】nn. Crossentropyloss() and nn NLLLoss()

Mysql 优化

2.3 【pytorch】数据预处理 torchvision.datasets.ImageFolder

Why is the Ltd independent station a Web3.0 website!
![[pytorch] softmax function](/img/97/b8ae22e8496a77e665d716cb0e9ee3.png)
[pytorch] softmax function
随机推荐
Class loading
Latex插入的eps图片模糊解决方法
2.2 【pytorch】torchvision. transforms
dsPIC30F6014a LCD 方块显示
R language observation log (part24) -- initialization settings
nacos簡易實現負載均衡
Shell script - special variables: shell $, $*, [email protected], $$$
Principles of Microcomputer - internal and external structure of microprocessor
【pytorch】nn.CrossEntropyLoss() 与 nn.NLLLoss()
Mise en œuvre simple de l'équilibrage de la charge par nacos
Preparing for the Blue Bridge Cup -- bit operation
Shell script -while loop explanation
Principles of Microcomputer - Introduction
【pytorch】transforms.Normalize((0.5, 0.5, 0.5), (0.5, 0.5, 0.5))
The fixed assets management system enables enterprises to dynamically master assets
Analysis and solution of JS this loss
[pytorch] 2.4 convolution function nn conv2d
Tree structure --- binary tree 1
【ESP 保姆级教程】疯狂毕设篇 —— 案例:基于阿里云和Arduino的化学环境系统检测,支持钉钉机器人告警
【pytorch】transforms. Normalize((0.5, 0.5, 0.5), (0.5, 0.5, 0.5))