码迷,mamicode.com
首页 >  
搜索关键字:number    ( 26994个结果
PL/SQL基础2(笔记)
1 第一个PL/SQL的程序DECLAREBEGIN DBMS_OUTPUT.PUT_LINE('Hello World!');END;/--2一个简单的PL/SQL程序DECLARE v_num NUMBER;BEGIN v_num:=30; dbms_output.put_line('v_num...
分类:数据库   时间:2015-01-07 20:48:03    阅读次数:236
浅谈 js中parseInt函数的解析[转]
首先还是从很热门的实例parseInt("09")==0说起。parseInt(number,type)这个函数后面如果不跟第2个参数来表示进制的话,默认是10进制。比如说parseInt("010",10)就是10进制的结果:10,parseInt("010",2)就是2进制的结果:2,parse...
分类:Web程序   时间:2015-01-07 20:43:19    阅读次数:112
Javascript如何判断一个变量是数字类型?
isNaN()不能判断一个变量是否为数字类型,isNaN(123)值为false,isNaN('123')值也为false。isNaN() 的实际作用跟它的名字isNaN并不一致,isNaN(NaN)值为true,isNaN(Number("xyz"))值为true,isNaN("abc")值为tr...
分类:编程语言   时间:2015-01-07 18:12:00    阅读次数:210
SQL ROW_NUMBER() OVER函数的基本用法用法
语法:ROW_NUMBER() OVER(PARTITION BY COLUMN ORDER BY COLUMN)简单的说row_number()从1开始,为每一条分组记录返回一个数字,这里的ROW_NUMBER() OVER (ORDER BY xlh DESC) 是先把xlh列降序,再为降序以后...
分类:数据库   时间:2015-01-07 18:10:07    阅读次数:254
java-Sum Root to Leaf Numbers
Given a binary tree containing digits from 0-9 only, each root-to-leaf path could represent a number. An example is the root-to-leaf path 1->2->3 which represents the number 123. Find the total ...
分类:编程语言   时间:2015-01-07 16:59:46    阅读次数:149
[Leetcode] 9 - Palindrome Number
原题链接: https://oj.leetcode.com/problems/palindrome-number/ 非常非常简单的一道题。。。 class Solution { public: bool isPalindrome(int x) { if (x < 0) return false; int ori = x;...
分类:其他好文   时间:2015-01-07 16:57:31    阅读次数:114
LeetCode---Two Sum
Given an array of integers, find two numbers such that they add up to a specific target number. The function twoSum should return indices of the two numbers such that they add up to the target, whe...
分类:其他好文   时间:2015-01-07 16:50:55    阅读次数:158
45 Useful JavaScript Tips, Tricks and Best Practices(有用的JavaScript技巧,技巧和最佳实践)
As you know, JavaScript is the number one programming language in the world, the language of the web, of mobile hybrid apps (likePhoneGaporAppcelerato...
分类:编程语言   时间:2015-01-07 16:18:49    阅读次数:298
[LeetCode#66]Plus One
The problem:Given a non-negative number represented as an array of digits, plus one to the number.The digits are stored such that the most significant...
分类:其他好文   时间:2015-01-07 12:57:33    阅读次数:124
Leetcode: Excel Sheet Column Number
Related to question Excel Sheet Column TitleGiven a column title as appear in an Excel sheet, return its corresponding column number.For example: A...
分类:其他好文   时间:2015-01-07 12:44:41    阅读次数:128
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!