반응형
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
- google apps script
- Redshift
- c#
- Presto
- Google Excel
- Google Spreadsheet
- PANDAS
- gas
- math
- Apache
- array
- SQL
- hive
- string
- numpy
- matplotlib
- Java
- django
- GIT
- list
- Python
- dataframe
- PySpark
- PostgreSQL
- Kotlin
- Tkinter
- Excel
- Github
- 파이썬
Archives
- Today
- Total
달나라 노트
Google Apps Script : Number.POSITIVE_INFINITY, Number.NEGATIVE_INFINITY (양의 무한대, 음의 무한대, 무한대) 본문
Google Apps Script
Google Apps Script : Number.POSITIVE_INFINITY, Number.NEGATIVE_INFINITY (양의 무한대, 음의 무한대, 무한대)
CosmosProject 2022. 11. 30. 19:38728x90
반응형
Google Apps Script에는 양의 무한대와 음의 무한대를 나타내는 특수한 값이 있습니다.
function myFunction(){
Logger.log(Number.POSITIVE_INFINITY);
Logger.log(Number.NEGATIVE_INFINITY);
}
-- Result
Infinity
-Infinity
- Number.POSITIVE_INFINITY
Number 객체의 POSITIVE_INFINITY는 양의 무한대를 나타내는 특수한 속성입니다.
- Number.NEGATIVE_INFINITY
Number 객체의 NEGATIVE_INFINITY는 음의 무한대를 나타내는 특수한 속성입니다.
728x90
반응형
'Google Apps Script' 카테고리의 다른 글
| Google Apps Script : Math.PI (PI, 파이값, 원주율) (0) | 2022.11.30 |
|---|---|
| Google Apps Script : Number.NaN (NaN, NaN 값, Not a Number) (0) | 2022.11.30 |
| Google Apps Script : isNaN (NaN값 판단하기) (0) | 2022.11.29 |
| Google Apps Script : isInteger (정수값 판단) (1) | 2022.11.29 |
| Google Apps Script : isFinite (숫자가 유한값인지 여부 판단) (0) | 2022.11.29 |
Comments