קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
blockly > utils > מתמטיקה > toRadians
הפונקציה utils.math.toRadians()
ממירה מעלות לרדיאנים. הועתק מ-goog.math.toRadians של סגירה.
Signature:
export declare function toRadians(angleDegrees: number): number;
פרמטרים
| פרמטר |
סוג |
תיאור |
| angleDegrees |
number |
זווית במעלות. |
החזרות:
number
זווית ברדיאנים.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-25 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-25 (שעון UTC)."],[],["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"]]