国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 學(xué)院 > 開發(fā)設(shè)計(jì) > 正文

Float isNaN() 樣例

2019-11-08 19:31:18
字體:
供稿:網(wǎng)友

/* * boolean isNaN(float f) static method checks whether the agrument * PRimitive float value is Not-a-Number value or not. It return true if * the specified argument is Not-a-Number value, false otherwise. */ float f = (float) Math.sqrt(-10); System.out.println(f); boolean b1 = Float.isNaN(f); System.out.println(b1);

/* * boolean isNaN() instance method checks whether the Float object is * Not-a-Number value or not. It return true if the object is * Not-a-Number value, false otherwise. */ Float fObj = new Float(f); boolean b2 = fObj.isNaN(); System.out.println(b2);
發(fā)表評論 共有條評論
用戶名: 密碼:
驗(yàn)證碼: 匿名發(fā)表
主站蜘蛛池模板: 孟连| 始兴县| 沾益县| 新晃| 富川| 隆化县| 随州市| 麻江县| 沁源县| 贵州省| 墨脱县| 康马县| 西宁市| 东方市| 太保市| 措勤县| 阿拉善左旗| 吉水县| 伊金霍洛旗| 青海省| 景泰县| 廉江市| 石阡县| 祁连县| 宝鸡市| 庆城县| 海淀区| 万荣县| 盘锦市| 手机| 岢岚县| 莎车县| 得荣县| 永新县| 镇坪县| 长岛县| 东兴市| 宁河县| 宁安市| 迁安市| 日土县|