1 CREATE OR REPLACE FUNCTION MONEY_TO_CHINESE(MONEY IN VARCHAR2) 2 RETURN VARCHAR2 IS 3 C_MONEY VARCHAR2(12); 4 M_STRING VARCHAR2(60) := '...
分类:
数据库 时间:
2014-07-31 20:21:47
阅读次数:
319
分享下PHP return语句的另一个作用,在bbPress的代码中看到的一个奇葩使用方法。一直以为,return只能出现在函数中,直到看了bbPress的代码:<?phprequire_once('./bb-load.php');bb_repermalink(); // The magic hap...
分类:
Web程序 时间:
2014-07-31 19:57:57
阅读次数:
257
var CSS = { getStyle:function(elem,name){//获取样式 if(elem.style[name]){ return elem.style[name]; ...
分类:
其他好文 时间:
2014-07-31 19:54:27
阅读次数:
198
Problem Description对于表达式n^2+n+41,当n在(x,y)范围内取整数值时(包括x,y)(-39int main(){ int x,y,i,n,t,flag; while(scanf("%d%d",&x,&y)!=EOF&&(x!=0||y!=0))//又学会了一招·...
分类:
其他好文 时间:
2014-07-31 19:52:57
阅读次数:
252
function getcurrentdate(){//获取系统时间var LSTR_ndate=new Date();var LSTR_Year=LSTR_ndate.getFullYear();var LSTR_Month=LSTR_ndate.getMonth();var LSTR_Date=...
分类:
Web程序 时间:
2014-07-31 19:40:17
阅读次数:
179
publicclassImageUtils{ /** *从SDCard读取图片时压缩 * *@paramsrcPath *@return */ publicstaticBitmapcompressImageFromFile(StringsrcPath, floatww,floathh) { BitmapFactory.OptionsnewOpts=newBitmapFactory.Options(); newOpts.inJustDecodeBounds=true;//只读边,..
分类:
其他好文 时间:
2014-07-31 17:20:37
阅读次数:
187
import os
import sys
import string
#以指定模式打开指定文件,获取文件句柄
def getFileIns(filePath,model):
print("打开文件")
print(filePath)
print(model)
return open(filePath,model)
#获取需要处理的文件
def getProcFi...
分类:
编程语言 时间:
2014-07-31 17:19:07
阅读次数:
291
用法./change 23456 10, 按最后指定的进制显示
#include
#include
#include
int mystrlen(char *s)
{
int len=0;
char *temp=s;
while(*(temp)!='\0')
{
++len;
++temp;
}
return le...
分类:
其他好文 时间:
2014-07-31 16:57:06
阅读次数:
224
int main(int argc, char* argv[]){ cout<<"Hello!"<<endl; return 0;}hehe
分类:
其他好文 时间:
2014-07-31 16:46:36
阅读次数:
218
有的网站中不允许用户复制、粘贴、剪切文本框中的内容的,是怎么实现的呢?看看下面的代码就知道了。
分类:
Web程序 时间:
2014-07-31 16:43:16
阅读次数:
280