|
本帖最后由 scorpio1102 于 2013-10-7 08:17 编辑
如题arraydisplay显示的数值与写入excel的值不对应?哪有问题呀.
#include<excel.au3>
#include<array.au3>
local $value=1310050013100001,$count=0,$value_string='',$value_new
for $i=0 to 999
;$value+=$count
$value_new=$value+$i
$value_string&=$value_new&"|"
Next
$array_string=StringSplit($value_string,"|")
_arraypush($array_string,'')
_arraydisplay($array_string)
if $array_string<>0 Then
$oExcel = _ExcelBookNew()
$oExcel.activesheet.range("A1").resize(UBound($array_string),1)=$oExcel.transpose($array_string)
EndIf
excel 显示以下值
(顺便问一下如何以不带小数的数值形式呈现在excel 里面.默认显示如1.31005E+15)
1310050013100000
1310050013100000
1310050013100000
1310050013100000
1310050013100000
1310050013100000
1310050013100000
1310050013100000
1310050013100000
1310050013100010
1310050013100010
1310050013100010
1310050013100010
1310050013100010
1310050013100010
1310050013100010
1310050013100010
1310050013100010
1310050013100010
1310050013100020
1310050013100020
1310050013100020
1310050013100020
1310050013100020
1310050013100020
1310050013100020
1310050013100020
1310050013100020
1310050013100020
1310050013100030
........... |
|