Merge branch 'dev' of https://git.hanasys.jp/qcast3/qcast-front into dev_ysCha
This commit is contained in:
commit
ba94dd0579
@ -260,7 +260,7 @@ export const getDegreeByChon = (chon) => {
|
||||
// tan(theta) = height / base
|
||||
const radians = Math.atan(chon / 10)
|
||||
// 라디안을 도 단위로 변환
|
||||
return Number((radians * (180 / Math.PI)).toFixed(1))
|
||||
return Number((radians * (180 / Math.PI)).toFixed(2))
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user