با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
blockly > Utils > Math > toRadians
تابع utils.math.toRadians().
درجه را به رادیان تبدیل می کند. کپی شده از goog.math.toRadians Closure.
امضا:
export declare function toRadians(angleDegrees: number): number;
پارامترها
پارامتر | تایپ کنید | توضیحات |
---|
درجه زاویه | شماره | زاویه بر حسب درجه |
برمیگرداند:
شماره
زاویه بر حسب رادیان
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-01-04 بهوقت ساعت هماهنگ جهانی.
[[["درک آسان","easyToUnderstand","thumb-up"],["مشکلم را برطرف کرد","solvedMyProblem","thumb-up"],["غیره","otherUp","thumb-up"]],[["اطلاعاتی که نیاز دارم وجود ندارد","missingTheInformationINeed","thumb-down"],["بیشازحد پیچیده/ مراحل بسیار زیاد","tooComplicatedTooManySteps","thumb-down"],["قدیمی","outOfDate","thumb-down"],["مشکل ترجمه","translationIssue","thumb-down"],["مشکل کد / نمونهها","samplesCodeIssue","thumb-down"],["غیره","otherDown","thumb-down"]],["تاریخ آخرین بهروزرسانی 2025-01-04 بهوقت ساعت هماهنگ جهانی."],[[["The `utils.math.toRadians()` function converts an angle from degrees to radians."],["It accepts one argument: `angleDegrees`, which represents the angle in degrees."],["The function returns the equivalent angle in radians."],["This function is based on Closure's `goog.math.toRadians` function."]]],["The `toRadians` function, within the `utils.math` namespace, converts an angle from degrees to radians. It accepts a single parameter, `angleDegrees`, which is a number representing the angle in degrees. The function returns a number representing the equivalent angle in radians. This functionality is based on the `goog.math.toRadians` from the Closure library.\n"]]