ee.Number.log10
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
لگاریتم پایه 10 ورودی را محاسبه می کند.
استفاده | برمی گرداند | Number. log10 () | شماره |
استدلال | تایپ کنید | جزئیات | این: input | شماره | مقدار ورودی |
نمونه ها
ویرایشگر کد (جاوا اسکریپت)
print(ee.Number(0.1).log10()); // -1
print(ee.Number(1).log10()); // 0
print(ee.Number(10).log10()); // 1
print(ee.Number(100).log10()); // 2
راه اندازی پایتون
برای اطلاعات در مورد API پایتون و استفاده از geemap
برای توسعه تعاملی به صفحه محیط پایتون مراجعه کنید.
import ee
import geemap.core as geemap
کولب (پایتون)
print(ee.Number(0.1).log10().getInfo()) # -1
print(ee.Number(1).log10().getInfo()) # 0
print(ee.Number(10).log10().getInfo()) # 1
print(ee.Number(100).log10().getInfo()) # 2
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003eThis function calculates the base-10 logarithm of a given number.\u003c/p\u003e\n"],["\u003cp\u003eThe input is a number, and the output is the base-10 logarithm of that number.\u003c/p\u003e\n"],["\u003cp\u003eExamples are provided in both JavaScript and Python demonstrating the usage of this function.\u003c/p\u003e\n"]]],[],null,["# ee.Number.log10\n\nComputes the base-10 logarithm of the input.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|------------------|---------|\n| Number.log10`()` | Number |\n\n| Argument | Type | Details |\n|---------------|--------|------------------|\n| this: `input` | Number | The input value. |\n\nExamples\n--------\n\n### Code Editor (JavaScript)\n\n```javascript\nprint(ee.Number(0.1).log10()); // -1\nprint(ee.Number(1).log10()); // 0\nprint(ee.Number(10).log10()); // 1\nprint(ee.Number(100).log10()); // 2\n```\nPython setup\n\nSee the [Python Environment](/earth-engine/guides/python_install) page for information on the Python API and using\n`geemap` for interactive development. \n\n```python\nimport ee\nimport geemap.core as geemap\n```\n\n### Colab (Python)\n\n```python\nprint(ee.Number(0.1).log10().getInfo()) # -1\nprint(ee.Number(1).log10().getInfo()) # 0\nprint(ee.Number(10).log10().getInfo()) # 1\nprint(ee.Number(100).log10().getInfo()) # 2\n```"]]