码迷,mamicode.com
首页 >  
搜索关键字:decimal    ( 1358个结果
【CodeForces】C. Drazil and Factorial
Problem hereProblemDrazil is playing a math game with Varda.Let’s define for positive integer x as a product of factorials of its digits. For example, First, they choose a decimal number a consisting...
分类:其他好文   时间:2016-05-13 03:10:26    阅读次数:115
MySQL学习6:MySQL基本数据类型
数据类型是指列、存储过程参数、表达式和局部变量的数据特征,它决定了数据的存储方式,代表了不同的信息 类型。MySQL中常用的的数据类型包括:数值类型、日期和时间类型和字符串类型等。        一数值类型        MySQL支持所有标准SQL中的数值类型,其中包括严格数据类型(INTEGER、SMALLINT、DECIMAL、 NUMBERIC),以及近似数值数据类型(FLOAT、...
分类:数据库   时间:2016-05-13 03:03:39    阅读次数:313
C#面向对象继承1和字符串
——值类型和引用类型区别: 值类型和引用类型在内存上存储的地方不一样。 值类型的值是存储在内存的栈当中。 引用类型的值是存储在内存的堆中。 在传递值类型和传递引用类型的时候,传递的方式不一样。 值类型我们称之为值传递,引用类型我们称之为引用传递。常见的值类型:int、double、bool、char、decimal、struct、enum 常见的引用类型:string、自定义类、数组、、、、、、...
分类:Windows程序   时间:2016-05-12 18:09:14    阅读次数:370
[leetcode] 166. Fraction to Recurring Decimal 解题报告
题目链接: https://leetcode.com/problems/fraction-to-recurring-decimal/ Given two integers representing the numerator and denominator of a fraction, return the fraction in string format. If the fra...
分类:其他好文   时间:2016-05-12 16:12:51    阅读次数:151
mysql 将指定列的浮点数转化为整数
mysql 将指定列的浮点数转化为整数: update A set B = cast(B as decimal(10,0)) -- 或者 update A set B = round(B,0) 例如:update hdcloude01.t_a01_eltable set t_a01_eltable. ...
分类:数据库   时间:2016-05-11 19:48:52    阅读次数:3580
C#和.Ne学习第六天
摘要: (主要是传智播客的赵剑宇老师上课的笔记自己在加上一点自己的理解,在此感谢赵剑宇老师) 1、变量类型int double string char bool decimal变量的使用规则:先声明再赋值最后使用 2、Camel Pascal Camel: 主要用于变量的命名 骆驼式命名法就是当变量 ...
分类:Windows程序   时间:2016-05-09 08:31:16    阅读次数:271
BigDecimal的各种坑
总结下这些天遇到的关于 BigDecimal的问题,有不完善的地方,大家一起完善哈!   BigDecimal的divide方法进行除法时当不整除,出现无限循环小数 报的异常: java.lang.ArithmeticException: Non-terminating decimal expansion; no exact representable decimal resu...
分类:其他好文   时间:2016-05-07 10:24:48    阅读次数:895
Binary, Octal, and Hexadecimal Conversions in Java
Convert from Binary, Octal or Hex to Decimal using Integer.parseInt(String input, int radix) Use Integer.parseInt(String input, int radix) to convert ...
分类:编程语言   时间:2016-05-07 00:50:51    阅读次数:221
hdu 5676 ztr loves lucky numbers(dfs+离线)
Problem Description ztr loves lucky numbers. Everybody knows that positive integers are lucky if their decimal representation doesn't contain digits o ...
分类:其他好文   时间:2016-05-02 20:03:42    阅读次数:220
C#开发的进化史
1、数据类型的进化 C#1中实现Product类型代码 1 public class Product 2 { 3 string name; 4 public string Name 5 { 6 get { return name; } 7 } 8 9 decimal price; 10 public ...
分类:Windows程序   时间:2016-05-01 13:28:23    阅读次数:466
1358条   上一页 1 ... 80 81 82 83 84 ... 136 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!