以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.com/bbs/index.asp)
--  专家坐堂  (http://foxtable.com/bbs/list.asp?boardid=2)
----  请教判断  (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=92315)

--  作者:hbhb
--  发布时间:2016/10/31 18:32:00
--  请教判断
大师:请问简单的判断字符串“srewts1" 的最后一位是否为奇数的代码?
--  作者:dzy1232016
--  发布时间:2016/10/31 20:08:00
--  
If cint(right(Tables("表A").Rows(0)(0),1)) Mod 2=1 Then 
 output.show("奇数")
Else
 output.show("偶数")
End If

--  作者:hbhb
--  发布时间:2016/10/31 20:40:00
--  
谢谢!right函数,帮助中在哪里?