一、数据类型1.1数据类型可以表示一切的类型variant逻辑类型:boolean (true,false)数学类型: 整数:byte(0-255),integer(-32768-32767),long(-21亿-21亿) 小数:single,double,currency(货币类型,包含4位小数, ...
分类:
编程语言 时间:
2017-10-30 19:57:01
阅读次数:
738
If you are a fan of Harry Potter, you would know the world of magic has its own currency system -- as Hagrid explained it to Harry, "Seventeen silver ...
分类:
其他好文 时间:
2017-10-24 21:00:17
阅读次数:
162
settimer killtimer GetiTickCount osQueryPerformanceCounter osQueryPerformanceFrequency Dim count As Currency On Error GoTo errFun osQueryPerformanceFr ...
//将数字字符串转为千分位格式inline string number_to_currency(string str, bool bDot = true){string newStr = "";int ... ...
分类:
其他好文 时间:
2017-10-11 20:18:52
阅读次数:
189
java.net.URISyntaxException的解决办法 近日在用HttpClient访问抓取汇率时,为了省力,直接采用 String url = "http://api.liqwei.com/currency/?exchange=usd|cny&count=1"; HttpClient c ...
分类:
编程语言 时间:
2017-10-03 16:27:58
阅读次数:
160
1、常用函数: asc(s) 返回s内第一个字母对应的ASCII码 chr(51) 将数字返回对应的字符 cbool() 返回表达式的boolean值 cByte() 将表达式转换为byte子类型的variant cCur() 将表达式转换为currency cdate() 将表达式转换为date ...
分类:
其他好文 时间:
2017-09-25 19:54:00
阅读次数:
204
angularJs的过滤器 1.currency 2.number <div>{{num|number:0}}</div> <!-- 1,234,567,888--> number的参数为保留小数点的位数,默认为3;对象必须为数字 3.lowercase/uppercase 大小写转换,没有参数 4 ...
分类:
Web程序 时间:
2017-09-16 13:21:54
阅读次数:
161
定义一个Node模块:currency.js 引入一个模块: 下面的test-currency.js中的代码,它require了currency.js模块: 输出结果: ...
分类:
Web程序 时间:
2017-09-02 10:38:49
阅读次数:
228
题目链接:http://poj.org/problem?id=1860 题意:货币之间转换问题,有N种钱,M种转换,初始第S种钱有V价值,然后转换(转换公式:(钱价值-税)*汇率),问是否能有一种转换可以是初始S的钱价值增加。 题解: 1.SPFA 因为可能钱会减少,就是可能出现负边,所以肯定不能用 ...
分类:
其他好文 时间:
2017-08-15 10:06:39
阅读次数:
140
Bellman_ford算法用于寻找正环或者负环! 算法导论: 24.1 The Bellman-Ford algorithm The Bellman-Ford algorithm solves the single-source shortest-paths problem in the gene ...
分类:
编程语言 时间:
2017-08-01 14:40:38
阅读次数:
190