반응형
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- numpy
- list
- Redshift
- Java
- matplotlib
- Google Spreadsheet
- array
- Python
- django
- Tkinter
- Kotlin
- hive
- math
- Github
- PANDAS
- gas
- GIT
- string
- dataframe
- SQL
- Excel
- c#
- Apache
- 파이썬
- PySpark
- PostgreSQL
- google apps script
- Google Excel
- Mac
Archives
- Today
- Total
목록isFinite (1)
달나라 노트
Google Apps Script : isFinite (숫자가 유한값인지 여부 판단)
isFinite method는 어떠한 숫자가 유한값인지 아닌지를 판단하여 유한값인 경우 true를 return하고, 무한값인 경우 false를 return합니다. Syntax Number.isFinite(number) isFinite method는 위처럼 특정 number를 parameter로 받아 이 number가 유한값인지를 판단합니다. function myFunction(){ var num = 123.4567; Logger.log(Number.isFinite(num)); } -- Result true 123.4567은 유한값입니다. 소수가 무한하지 않고 딱 4자리로 유한하죠. - Number.isFinite(num) 따라서 위같이 isFinite method의 결과는 true입니다.
Google Apps Script
2022. 11. 29. 01:01