Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
blockly > utils > matematyka > toRadians
Funkcja utils.math.toRadians()
Konwertuje stopnie na radiany. Skopiowano z serwera goog.math.toRadians firmy Closure.
Podpis:
export declare function toRadians(angleDegrees: number): number;
Parametry
Parametr |
Typ |
Opis |
angleDegrees |
liczba |
Kąt w stopniach. |
Zwroty:
liczba
Kąt w radianach.
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-08-22 UTC.
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 2024-08-22 UTC."],[[["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"]]