본문 바로가기

저장을 습관화

검색하기
저장을 습관화
프로필사진 ctrs

  • 분류 전체보기 (503)
    • 공부 (179)
      • 메모 (18)
      • TIL (31)
      • JavaScript (33)
      • TypeScript (14)
      • node.js (56)
      • React (12)
      • 데이터베이스 (14)
      • Deno (1)
    • 코딩 테스트 (317)
      • 프로그래머스 - 자바스크립트 (252)
      • 백준 - 자바스크립트 (29)
      • 프로그래머스 - SQL (36)
    • 작업용 배경음 (3)
Guestbook
Notice
Recent Posts
Recent Comments
«   2025/05   »
일 월 화 수 목 금 토
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
Link
  • GitHub
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록공부/TIL (31)

저장을 습관화

230530 TIL

1. Math Math.ceil() 소수점 올림 Math.ceil(.95); // 1 Math.ceil(4); // 4 Math.ceil(7.004); // 8 Math.ceil(-0.95); // -0 Math.ceil(-4); // -4 Math.ceil(-7.004); // -7 Math.floor() 소수점 내림 Math.floor( 45.95); // 45 Math.floor( 45.05); // 45 Math.floor( 4 ); // 4 Math.floor(-45.05); // -46 Math.floor(-45.95); // -46 Math.round() 소수점 반올림 Math.round( 20.49); // 20 Math.round( 20.5 ); // 21 Math.round( 42 );..

공부/TIL 2023. 5. 30. 21:46
이전 Prev 1 2 3 4 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바