1 exec sp_executesql N'SELECT 2 [Extent2].[Id] AS [Id], 3 [Extent2].[Name] AS [Name], 4 [Extent2].[Description] AS [Description], 5 [Extent2].[RoleTypeNum] AS [RoleTypeNum], 6 [Extent2].[IsDeleted] AS [IsDeleted], 7 [Extent2].[AddDate] AS [AddDate],
在JAVA中,所有的对象都有toString方法: 创建类时没有定义toString方法,输出对象时,会输出对象的哈希值: 它只是sun公司开发java的时候为了方便所有类的字符串操作而特意加入的一个方法 它通常只是为了方便输出: 例如: public class Test2{ String name; int age; public String toString(){ return "我的姓名是:"+name+"\t我的年龄是:"+age; } public s
import java.math.BigDecimal; import java.text.NumberFormat; public class Java中double类型的数据精确到小数点后两位 { /** * @param args */ public static void main(String[] args) { //1 double f = 749.1666666666666; BigDecimal b = new BigDecimal(f); double f1 = b.setSc